~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_help.py

  • Committer: Martin Pool
  • Date: 2007-07-11 02:32:38 UTC
  • mto: This revision was merged to the branch mainline in revision 2599.
  • Revision ID: mbp@sourcefrog.net-20070711023238-3t8dcgltds9566ke
Fix up tests for option help cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
        self.assertEquals(help, qmark)
119
119
        for line in help.split('\n'):
120
120
            if '--long' in line:
121
 
                self.assertTrue('show help on all commands' in line)
 
121
                self.assertContainsRe(line,
 
122
                    r'Show help on all commands\.')