~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_help.py

  • Committer: Jonathan Lange
  • Date: 2009-06-26 08:46:52 UTC
  • mto: (4484.1.1 bring-1.16.1-back)
  • mto: This revision was merged to the branch mainline in revision 4485.
  • Revision ID: jml@canonical.com-20090626084652-x7wn8yimd3fj0j0y
Tweak NEWS slightly based on mbp's feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    )
30
30
 
31
31
 
32
 
class TestHelp(tests.TestCase):
33
 
 
34
 
    def setUp(self):
35
 
        tests.TestCase.setUp(self)
36
 
        commands.install_bzr_command_hooks()
37
 
 
38
 
 
39
32
class TestCommandHelp(tests.TestCase):
40
33
    """Tests for help on commands."""
41
34
 
281
274
            '  Blah blah blah.\n\n')
282
275
 
283
276
 
284
 
class TestRegisteredTopic(TestHelp):
 
277
class TestRegisteredTopic(tests.TestCase):
285
278
    """Tests for the RegisteredTopic class."""
286
279
 
287
280
    def test_contruct(self):
320
313
        self.assertEqual('baz', topic.get_help_topic())
321
314
 
322
315
 
323
 
class TestTopicIndex(TestHelp):
 
316
class TestTopicIndex(tests.TestCase):
324
317
    """Tests for the HelpTopicIndex class."""
325
318
 
326
319
    def test_default_constructable(self):
353
346
        self.assertEqual('', index.prefix)
354
347
 
355
348
 
356
 
class TestCommandIndex(TestHelp):
 
349
class TestCommandIndex(tests.TestCase):
357
350
    """Tests for the HelpCommandIndex class."""
358
351
 
359
352
    def test_default_constructable(self):