~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_commands.py

  • Committer: Martin Pool
  • Date: 2010-08-13 08:09:53 UTC
  • mto: (5050.17.6 2.2)
  • mto: This revision was merged to the branch mainline in revision 5379.
  • Revision ID: mbp@sourcefrog.net-20100813080953-c00cm9l3qgu2flj9
Remove spuriously-resurrected test

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
        c = self.get_command([option.Option('foo', hidden=False)])
92
92
        self.assertContainsRe(c.get_help_text(), '--foo')
93
93
 
94
 
    def test_no_help_init_failure(self):
95
 
        class cmd_foo(commands.Command):
96
 
            pass
97
 
        self.assertRaises(ValueError, cmd_foo)
98
 
 
99
 
    def test_builtin_command_names(self):
100
 
        cmds = commands.builtin_command_names()
101
 
        self.assertTrue(len(cmds) > 0)
102
 
        self.assertTrue('diff' in cmds)
103
94
 
104
95
class TestGetAlias(tests.TestCase):
105
96