/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: James Westby
  • Date: 2007-04-14 01:02:44 UTC
  • mto: (2485.1.1 bzr.repohelp)
  • mto: This revision was merged to the branch mainline in revision 2492.
  • Revision ID: jw+debian@jameswestby.net-20070414010244-4qvkerl2bztwchn1
Add a help topic for repositories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        self.assertContainsRe(out, 'checkout')
58
58
        self.assertContainsRe(out, 'lightweight')
59
59
 
 
60
    def test_help_repositories(self):
 
61
        """Smoke test for 'bzr help repositories'"""
 
62
        out, err = self.runbzr('help repositories')
 
63
        self.assertContainsRe(out, 'repository')
 
64
        self.assertContainsRe(out, '--no-trees')
 
65
        self.assertContainsRe(out, 'init-repository')
 
66
 
60
67
    def test_help_commands(self):
61
68
        dash_help  = self.runbzr('--help commands')[0]
62
69
        commands   = self.runbzr('help commands')[0]