~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/shelf_tests.py

  • Committer: Aaron Bentley
  • Date: 2007-12-17 13:11:59 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20071217131159-dqve0ry2kvci7o2a
Received bug report

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.command_classes import cmd_shelf
 
10
from bzrlib.plugins.bzrtools import cmd_shelf
11
11
 
12
12
 
13
13
class ShelfTests(bzrlib.tests.TestCaseWithTransport):
624
624
    def test_shelf_help(self):
625
625
        self.assertContainsRe(cmd_shelf().help(),
626
626
                              'list\n.*List the patches on the current shelf')
627
 
 
628
 
    def test_show_empty_shelf(self):
629
 
        self.tree = self.make_branch_and_tree('.')
630
 
        self.run_bzr_error(('No patches on shelf.',), 'shelf show')