~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_inv.py

Merge bzr.dev to resolve news conflict

Show diffs side-by-side

added added

removed removed

Lines of Context:
589
589
        self.assertFalse(inv.is_root('TREE_ROOT'))
590
590
        self.assertFalse(inv.is_root('booga'))
591
591
 
 
592
    def test_entries_for_empty_inventory(self):
 
593
        """Test that entries() will not fail for an empty inventory"""
 
594
        inv = Inventory(root_id=None)
 
595
        self.assertEqual([], inv.entries())
 
596
 
592
597
 
593
598
class TestInventoryEntry(TestCase):
594
599