~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        self.assertContainsRe(out, 'ancestor:')
52
52
        self.assertContainsRe(out, 'branch:')
53
53
 
 
54
    def test_help_checkouts(self):
 
55
        """Smoke test for 'bzr help checkouts'"""
 
56
        out, err = self.runbzr('help checkouts')
 
57
        self.assertContainsRe(out, 'checkout')
 
58
        self.assertContainsRe(out, 'lightweight')
 
59
 
54
60
    def test_help_commands(self):
55
61
        dash_help  = self.runbzr('--help commands')[0]
56
62
        commands   = self.runbzr('help commands')[0]
85
91
        for line in help.split('\n'):
86
92
            if '--long' in line:
87
93
                self.assertTrue('show help on all commands' in line)
 
94