diff options
Diffstat (limited to 'tests/store_test.py')
-rw-r--r-- | tests/store_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/store_test.py b/tests/store_test.py index 0947144..5a5d69e 100644 --- a/tests/store_test.py +++ b/tests/store_test.py @@ -186,7 +186,7 @@ def test_local_resources_reflects_reality(): for res in os.listdir('pre_commit/resources') if res.startswith('empty_template_') } - assert on_disk == set(Store.LOCAL_RESOURCES) + assert on_disk == {os.path.basename(x) for x in Store.LOCAL_RESOURCES} def test_mark_config_as_used(store, tmpdir): |