~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/inventory_implementations/basics.py

  • Committer: Alexander Belchenko
  • Date: 2007-10-04 05:50:44 UTC
  • mfrom: (2881 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2884.
  • Revision ID: bialix@ukr.net-20071004055044-pb88kgkfayawro8n
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
202
202
            ], [(path, ie.file_id) for path, ie in inv.iter_entries_by_dir(
203
203
                specific_file_ids=('bye-id',))])
204
204
 
 
205
        self.assertEqual([
 
206
            ('', 'tree-root'),
 
207
            ('src', 'src-id'),
 
208
            ('src/bye.c', 'bye-id'),
 
209
            ], [(path, ie.file_id) for path, ie in inv.iter_entries_by_dir(
 
210
                specific_file_ids=('bye-id',), yield_parents=True)])
 
211
 
205
212
    def test_add_recursive(self):
206
213
        parent = InventoryDirectory('src-id', 'src', 'tree-root')
207
214
        child = InventoryFile('hello-id', 'hello.c', 'src-id')