~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:48:25 UTC
  • mfrom: (531.1.1 bzrtools)
  • Revision ID: abentley@panoramicfeedback.com-20070508144825-kwbutttklnw7x6ux
Merge fix from home

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')