1
0
Fork 0
mirror of synced 2024-06-22 04:00:20 +12:00

Update failing test

This commit is contained in:
Serene-Arc 2021-05-27 15:58:40 +10:00
parent 12a508c898
commit 6caa02adb1

View file

@ -173,9 +173,8 @@ def test_format_multiple_resources():
mocks.append(new_mock)
test_formatter = FileNameFormatter('{TITLE}', '', 'ISO')
results = test_formatter.format_resource_paths(mocks, Path('.'))
results = set([str(res[0]) for res in results])
expected = set([str(Path(Path('.'), name).resolve())
for name in ('test_1.png', 'test_2.png', 'test_3.png', 'test_4.png')])
results = set([str(res[0].name) for res in results])
expected = {'test_1.png', 'test_2.png', 'test_3.png', 'test_4.png'}
assert results == expected