~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_shelf.py

(mbp) gc fragmentation fix and content filtering path_content_summary

Show diffs side-by-side

added added

removed removed

Lines of Context:
473
473
        self.addCleanup(creator.finalize)
474
474
        self.assertEqual([], list(creator.iter_shelvable()))
475
475
 
 
476
    def test_shelve_skips_added_root(self):
 
477
        """Skip adds of the root when iterating through shelvable changes."""
 
478
        tree = self.make_branch_and_tree('tree')
 
479
        creator = shelf.ShelfCreator(tree, tree.basis_tree())
 
480
        self.addCleanup(creator.finalize)
 
481
        self.assertEqual([], list(creator.iter_shelvable()))
 
482
 
476
483
 
477
484
class TestUnshelver(tests.TestCaseWithTransport):
478
485