diff options
| author | Barry Warsaw | 2017-01-29 11:43:04 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2017-01-29 11:43:04 -0500 |
| commit | 9f0fe022eb54cbbba04f3bc68ac18282763a1a2b (patch) | |
| tree | 32d1235051b510af07e1fc0fd2f382227a63e11b | |
| parent | d33e0de29223dea397189d688d0676156ff957fb (diff) | |
| download | mailman-9f0fe022eb54cbbba04f3bc68ac18282763a1a2b.tar.gz mailman-9f0fe022eb54cbbba04f3bc68ac18282763a1a2b.tar.zst mailman-9f0fe022eb54cbbba04f3bc68ac18282763a1a2b.zip | |
| -rw-r--r-- | src/mailman/rest/tests/test_addresses.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman/rest/tests/test_addresses.py b/src/mailman/rest/tests/test_addresses.py index c8ee71286..d70ad5c84 100644 --- a/src/mailman/rest/tests/test_addresses.py +++ b/src/mailman/rest/tests/test_addresses.py @@ -520,8 +520,10 @@ class TestAPI31Addresses(unittest.TestCase): def test_addresses_user_ids_are_hex(self): user_manager = getUtility(IUserManager) + # Do this sequentially so we're sure which user gets which uid. with transaction(): user_manager.create_user('anne@example.com', 'Anne') + with transaction(): user_manager.create_user('bart@example.com', 'Bart') response, headers = call_api('http://localhost:9001/3.1/addresses') entries = response['entries'] |
