/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

Change topic to hidden-commands

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    def test_help_commands(self):
55
55
        dash_help  = self.runbzr('--help commands')[0]
56
56
        commands   = self.runbzr('help commands')[0]
57
 
        hidden = self.runbzr('help hidden')[0]
 
57
        hidden = self.runbzr('help hidden-commands')[0]
58
58
        long_help  = self.runbzr('help --long')[0]
59
59
        qmark_long = self.runbzr('? --long')[0]
60
60
        qmark_cmds = self.runbzr('? commands')[0]
64
64
        self.assertEquals(dash_help, qmark_cmds)
65
65
 
66
66
    def test_hidden(self):
67
 
        commands   = self.runbzr('help commands')[0]
68
 
        hidden   = self.runbzr('help hidden')[0]
 
67
        commands = self.runbzr('help commands')[0]
 
68
        hidden = self.runbzr('help hidden-commands')[0]
69
69
        self.assertTrue('commit' in commands)
70
70
        self.assertTrue('commit' not in hidden)
71
71
        self.assertTrue('rocks' in hidden)