~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_help.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-10 10:33:31 UTC
  • mfrom: (4426.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090610103331-ht76b0l92gj1gn9d
(bialix) Start Russian translation

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):