diff options
| author | Barry Warsaw | 2016-11-13 22:03:40 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2016-11-13 22:03:40 -0500 |
| commit | c50b3ee558eabd00624b0efc7ad9324535df1709 (patch) | |
| tree | c6b90a107d00b20126c96a43215a1f0e27f44c31 /src/mailman/chains/tests/test_hold.py | |
| parent | 589c4c62d4fa0b79dd4e742c50cf79bd8d4558ca (diff) | |
| download | mailman-c50b3ee558eabd00624b0efc7ad9324535df1709.tar.gz mailman-c50b3ee558eabd00624b0efc7ad9324535df1709.tar.zst mailman-c50b3ee558eabd00624b0efc7ad9324535df1709.zip | |
Diffstat (limited to 'src/mailman/chains/tests/test_hold.py')
| -rw-r--r-- | src/mailman/chains/tests/test_hold.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/chains/tests/test_hold.py b/src/mailman/chains/tests/test_hold.py index 677ce2f0f..13dd1b40e 100644 --- a/src/mailman/chains/tests/test_hold.py +++ b/src/mailman/chains/tests/test_hold.py @@ -135,8 +135,8 @@ A message body. # Issue #144 - UnicodeEncodeError in the hold chain. self._mlist.admin_immed_notify = True self._mlist.respond_to_post_requests = False - mod = self._user_manager.create_user('bart@example.com', 'Bart User') - address = set_preferred(mod) + bart = self._user_manager.create_user('bart@example.com', 'Bart User') + address = set_preferred(bart) self._mlist.subscribe(address, MemberRole.moderator) path = resource_filename('mailman.chains.tests', 'issue144.eml') with open(path, 'rb') as fp: |
