summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/tests
diff options
context:
space:
mode:
authorBarry Warsaw2017-01-28 17:35:51 +0000
committerBarry Warsaw2017-01-28 17:35:51 +0000
commitba08609f28f7193a020a57e90bb887d59f1543bc (patch)
treead0e839ba66d19a58a419eab27428c611f6c2570 /src/mailman/utilities/tests
parentdfb807e04037786a62e7635d0b37e0695a77d5d6 (diff)
parent99671bec296123d2934d690557494233f349fc8f (diff)
downloadmailman-ba08609f28f7193a020a57e90bb887d59f1543bc.tar.gz
mailman-ba08609f28f7193a020a57e90bb887d59f1543bc.tar.zst
mailman-ba08609f28f7193a020a57e90bb887d59f1543bc.zip
Merge branch 'brace-style' into 'master'
Enforce a stricter coding style See merge request !237
Diffstat (limited to 'src/mailman/utilities/tests')
-rw-r--r--src/mailman/utilities/tests/test_import.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mailman/utilities/tests/test_import.py b/src/mailman/utilities/tests/test_import.py
index 2406c5b02..b1b4764ff 100644
--- a/src/mailman/utilities/tests/test_import.py
+++ b/src/mailman/utilities/tests/test_import.py
@@ -774,55 +774,55 @@ class TestRosterImport(unittest.TestCase):
'members': {
'anne@example.com': 0,
'bob@example.com': b'bob@ExampLe.Com',
- },
+ },
'digest_members': {
'cindy@example.com': 0,
'dave@example.com': b'dave@ExampLe.Com',
- },
+ },
'passwords': {
'anne@example.com': b'annepass',
'bob@example.com': b'bobpass',
'cindy@example.com': b'cindypass',
'dave@example.com': b'davepass',
- },
+ },
'language': {
'anne@example.com': b'fr',
'bob@example.com': b'de',
'cindy@example.com': b'es',
'dave@example.com': b'it',
- },
+ },
# Usernames are unicode strings in the pickle
'usernames': {
'anne@example.com': 'Anne',
'bob@example.com': 'Bob',
'cindy@example.com': 'Cindy',
'dave@example.com': 'Dave',
- },
+ },
'owner': [
'anne@example.com',
'emily@example.com',
- ],
+ ],
'moderator': [
'bob@example.com',
'fred@example.com',
- ],
+ ],
'accept_these_nonmembers': [
'gene@example.com',
'^gene-.*@example.com',
- ],
+ ],
'hold_these_nonmembers': [
'homer@example.com',
'^homer-.*@example.com',
- ],
+ ],
'reject_these_nonmembers': [
'iris@example.com',
'^iris-.*@example.com',
- ],
+ ],
'discard_these_nonmembers': [
'kenny@example.com',
'^kenny-.*@example.com',
- ],
- }
+ ],
+ }
self._usermanager = getUtility(IUserManager)
language_manager = getUtility(ILanguageManager)
for code in self._pckdict['language'].values():