222
222
('src/hello.c', 'hello-id'),
223
223
], [(path, ie.file_id) for path, ie in inv.iter_entries()])
227
for args in [('src', 'directory', 'src-id'),
228
('doc', 'directory', 'doc-id'),
229
('src/hello.c', 'file', 'hello-id'),
230
('src/bye.c', 'file', 'bye-id'),
225
242
def test_iter_entries_by_dir(self):
226
243
inv = self. prepare_inv_with_nested_dirs()