diff options
| author | Barry Warsaw | 2013-10-18 17:49:15 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2013-10-18 17:49:15 -0400 |
| commit | e50a8fd6a54eff5d9444833d529b04f519453c1a (patch) | |
| tree | 35a13d2427890ca76c107bd320c9e18adb7a6b36 /src/mailman/commands/tests | |
| parent | 2eb07e9254d0c60a5ae8b0a7ee7f4a455c3c51e3 (diff) | |
| parent | 9aa16a276547fbb77eb15bd3cb2309b34aa58607 (diff) | |
| download | mailman-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.py | 7 |
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 |
