~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_inv.py

  • Committer: John Arbash Meinel
  • Date: 2010-09-29 20:18:37 UTC
  • mfrom: (5450 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5452.
  • Revision ID: john@arbash-meinel.com-20100929201837-6d9jhvjokfe3ubvk
Merge bzr.dev 5450 to resolve NEWS and criss-cross merge.

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