summaryrefslogtreecommitdiff
path: root/src/mailman/commands/tests
diff options
context:
space:
mode:
authorBarry Warsaw2013-10-18 17:49:15 -0400
committerBarry Warsaw2013-10-18 17:49:15 -0400
commite50a8fd6a54eff5d9444833d529b04f519453c1a (patch)
tree35a13d2427890ca76c107bd320c9e18adb7a6b36 /src/mailman/commands/tests
parent2eb07e9254d0c60a5ae8b0a7ee7f4a455c3c51e3 (diff)
parent9aa16a276547fbb77eb15bd3cb2309b34aa58607 (diff)
downloadmailman-e50a8fd6a54eff5d9444833d529b04f519453c1a.tar.gz
mailman-e50a8fd6a54eff5d9444833d529b04f519453c1a.tar.zst
mailman-e50a8fd6a54eff5d9444833d529b04f519453c1a.zip
trunk merge
Diffstat (limited to 'src/mailman/commands/tests')
-rw-r--r--src/mailman/commands/tests/test_conf.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mailman/commands/tests/test_conf.py b/src/mailman/commands/tests/test_conf.py
index 307151c74..04ce4c9b5 100644
--- a/src/mailman/commands/tests/test_conf.py
+++ b/src/mailman/commands/tests/test_conf.py
@@ -110,4 +110,9 @@ class TestConf(unittest.TestCase):
self.command.process(self.args)
last_line = ''
for line in output.getvalue().splitlines():
- self.assertTrue(line > last_line)
+ if not line.startswith('['):
+ # This is a continuation line. --sort doesn't sort these.
+ continue
+ self.assertTrue(line > last_line,
+ '{} !> {}'.format(line, last_line))
+ last_line = line