~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-04 08:46:22 UTC
  • mfrom: (2552.2.5 run_bzr)
  • mto: This revision was merged to the branch mainline in revision 2588.
  • Revision ID: mbp@sourcefrog.net-20070704084622-6b8enfv9o71s7ung
Merge more runbzr cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
    def test_help_topics(self):
37
37
        """Smoketest for 'bzr help topics'"""
38
 
        out, err = self.run_bzr('help', 'topics')
 
38
        out, err = self.run_bzr('help topics')
39
39
        self.assertContainsRe(out, 'basic')
40
40
        self.assertContainsRe(out, 'topics')
41
41
        self.assertContainsRe(out, 'commands')
43
43
 
44
44
    def test_help_revisionspec(self):
45
45
        """Smoke test for 'bzr help revisionspec'"""
46
 
        out, err = self.run_bzr('help', 'revisionspec')
 
46
        out, err = self.run_bzr('help revisionspec')
47
47
        self.assertContainsRe(out, 'revno:')
48
48
        self.assertContainsRe(out, 'date:')
49
49
        self.assertContainsRe(out, 'revid:')
60
60
        
61
61
    def test_help_urlspec(self):
62
62
        """Smoke test for 'bzr help urlspec'"""
63
 
        out, err = self.run_bzr('help', 'urlspec')
 
63
        out, err = self.run_bzr('help urlspec')
64
64
        self.assertContainsRe(out, 'aftp://')
65
65
        self.assertContainsRe(out, 'bzr://')
66
66
        self.assertContainsRe(out, 'bzr\+ssh://')