~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/shelf_tests.py

  • Committer: Aaron Bentley
  • Date: 2007-05-08 14:35:58 UTC
  • mto: This revision was merged to the branch mainline in revision 533.
  • Revision ID: aaron.bentley@utoronto.ca-20070508143558-605d5g0qyui39lgp
Add test for shelf help, since it's custom

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    UnshelveHunkSelector,
8
8
    )
9
9
from bzrlib.plugins.bzrtools.errors import NoColor
 
10
from bzrlib.plugins.bzrtools import cmd_shelf
10
11
 
11
12
 
12
13
class ShelfTests(bzrlib.tests.TestCaseWithTransport):
616
617
                                               '--no-color'])
617
618
        stdout, error = self.run_bzr_captured(['unshelve', '--all', 
618
619
                                               '--no-color'])
 
620
 
 
621
    def test_shelf_help(self):
 
622
        self.assertContainsRe(cmd_shelf().help(),
 
623
                              'list\n.*List the patches on the current shelf')