18
18
from bzrlib.tests import TestCaseWithTransport
22
22
def test_no_shelved_changes(self):
23
23
tree = self.make_branch_and_tree('.')
25
25
self.assertEqual('No shelved changes.\n', err)
27
27
def test_shelve_one(self):
28
28
tree = self.make_branch_and_tree('.')
29
29
creator = shelf.ShelfCreator(tree, tree.basis_tree(), [])
30
30
shelf_id = tree.get_shelf_manager().shelve_changes(creator, 'Foo')
32
32
self.assertEqual('', err)
33
33
self.assertEqual(' 1: Foo\n', out)