~abompard/mailman/import21

« back to all changes in this revision

Viewing changes to src/mailman/commands/tests/test_conf.py

  • Committer: Aurélien Bompard
  • Date: 2013-10-22 13:28:11 UTC
  • mfrom: (7215.2.10 3.0)
  • Revision ID: aurelien@bompard.org-20131022132811-d1utj61rqjm178k9
Merge from the main branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
            self.command.process(self.args)
111
111
        last_line = ''
112
112
        for line in output.getvalue().splitlines():
113
 
            self.assertTrue(line > last_line)
 
113
            if not line.startswith('['):
 
114
                # This is a continuation line.  --sort doesn't sort these.
 
115
                continue
 
116
            self.assertTrue(line > last_line,
 
117
                            '{} !> {}'.format(line, last_line))
 
118
            last_line = line