~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2007-06-07 22:31:44 UTC
  • mfrom: (2517 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2518.
  • Revision ID: john@arbash-meinel.com-20070607223144-u4oljlajcvq6by2n
[merge] bzr.dev 2517

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
"""
20
20
 
21
21
 
 
22
import bzrlib
22
23
from bzrlib.tests.blackbox import ExternalBase
23
24
 
24
25
 
69
70
        self.assertContainsRe(out, 'https://')
70
71
        self.assertContainsRe(out, 'sftp://')
71
72
 
 
73
    def test_help_repositories(self):
 
74
        """Smoke test for 'bzr help repositories'"""
 
75
        out, err = self.runbzr('help repositories')
 
76
        self.assertEqual(bzrlib.help_topics._repositories, out)
 
77
 
 
78
    def test_help_working_trees(self):
 
79
        """Smoke test for 'bzr help working-trees'"""
 
80
        out, err = self.runbzr('help working-trees')
 
81
        self.assertEqual(bzrlib.help_topics._working_trees, out)
 
82
 
72
83
    def test_help_commands(self):
73
84
        dash_help  = self.runbzr('--help commands')[0]
74
85
        commands   = self.runbzr('help commands')[0]