~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_help.py

  • Committer: Robert Collins
  • Date: 2007-04-19 23:54:43 UTC
  • mto: This revision was merged to the branch mainline in revision 2441.
  • Revision ID: robertc@robertcollins.net-20070419235443-nu7zolsraales40g
Add a HelpTopicContext object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
from bzrlib import (
22
22
    commands,
23
23
    help,
 
24
    help_topics,
24
25
    tests,
25
26
    )
26
27
 
40
41
            '  -h, --help  show help message\n'
41
42
            '\n'
42
43
            'See also: bar, foo\n')
 
44
 
 
45
 
 
46
class TestTopicContext(tests.TestCase):
 
47
    """Tests for the HelpTopicContext object."""
 
48
 
 
49
    def test_construct(self):
 
50
        context = help_topics.HelpTopicContext()
 
51