diff options
Diffstat (limited to 'src/mailman/commands/tests/test_help.py')
| -rw-r--r-- | src/mailman/commands/tests/test_help.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/commands/tests/test_help.py b/src/mailman/commands/tests/test_help.py index 3c7d1ae9f..74eaae84e 100644 --- a/src/mailman/commands/tests/test_help.py +++ b/src/mailman/commands/tests/test_help.py @@ -47,11 +47,11 @@ class TestHelp(unittest.TestCase): def test_too_many_arguments(self): # Error message when too many help arguments are given. results = Results() - status = self._help.process(self._mlist, Message(), {}, + status = self._help.process(self._mlist, Message(), {}, ('more', 'than', 'one'), results) self.assertEqual(status, ContinueProcessing.no) - self.assertEqual(unicode(results), """\ + self.assertEqual(results.decode('utf-8'), """\ The results of your email command are provided below. help: too many arguments: more than one @@ -60,10 +60,10 @@ help: too many arguments: more than one def test_no_such_command(self): # Error message when asking for help on an existent command. results = Results() - status = self._help.process(self._mlist, Message(), {}, + status = self._help.process(self._mlist, Message(), {}, ('doesnotexist',), results) self.assertEqual(status, ContinueProcessing.no) - self.assertEqual(unicode(results), """\ + self.assertEqual(results.decode('utf-8'), """\ The results of your email command are provided below. help: no such command: doesnotexist |
