/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2007-06-15 07:01:24 UTC
  • mfrom: (2528 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2530.
  • Revision ID: mbp@sourcefrog.net-20070615070124-clpwqh5gxc4wbf9l
Merge trunk

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]