Mark Sapiro pushed to branch master at GNU Mailman / Mailman Core
Commits:
5ddf9399 by Mark Sapiro at 2021-05-20T17:11:40-07:00
Sort test result for predictable comparison.
- - - - -
71c2e368 by Mark Sapiro at 2021-05-21T00:34:35+00:00
Merge branch 'zzz' into 'master'
Sort test result for predictable comparison.
See merge request mailman/mailman!867
- - - - -
1 changed file:
- src/mailman/rest/tests/test_domains.py
Changes:
=====================================
src/mailman/rest/tests/test_domains.py
=====================================
@@ -112,9 +112,9 @@ class TestDomains(unittest.TestCase):
self.assertEqual(response.status_code, 204)
# Check the result.
domain = getUtility(IDomainManager).get('example.com')
- self.assertEqual(
- [list(owner.addresses)[0].email for owner in domain.owners],
- ['[email protected]', '[email protected]'])
+ owners = [list(owner.addresses)[0].email for owner in domain.owners]
+ owners.sort()
+ self.assertEqual(owners, ['[email protected]', '[email protected]'])
def test_patch_domain_readonly(self):
# Attempt to patch mail_host.
View it on GitLab:
https://gitlab.com/mailman/mailman/-/compare/a1c11362510a23f7986c0134ec01d7d7bf99807b...71c2e368708bd9bfab4adeb4f569cb75e58852c3
--
View it on GitLab:
https://gitlab.com/mailman/mailman/-/compare/a1c11362510a23f7986c0134ec01d7d7bf99807b...71c2e368708bd9bfab4adeb4f569cb75e58852c3
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-checkins.python.org/
Member address: [email protected]