minor fix: fix order issue in test

backport of 10368f9c2c
This commit is contained in:
Thomas Waldmann 2021-03-01 15:10:32 +01:00
parent f8a098f40b
commit a90412271f
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ class ArchiverTestCase(ArchiverTestCaseBase):
archive_list = self.cmd('list', '--json-lines', self.repository_location + '::test')
paths = [json.loads(line)['path'] for line in archive_list.split('\n') if line]
# we have all fs items exactly once!
assert paths == ['input', 'input/a', 'input/a/hardlink', 'input/b', 'input/b/hardlink']
assert sorted(paths) == ['input', 'input/a', 'input/a/hardlink', 'input/b', 'input/b/hardlink']
def test_init_parent_dirs(self):
parent_path = os.path.join(self.tmpdir, 'parent1', 'parent2')