mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 03:42:37 +02:00
fix: test failing due to unstable FS ordering between OS
This commit is contained in:
parent
f53d435dfd
commit
dc5a3a6b62
1 changed files with 2 additions and 2 deletions
|
@ -289,5 +289,5 @@ def test_should_remove_all_versions_on_delete(map, settings):
|
||||||
datalayer.geojson.storage.save(root / f"{path}.gz", ContentFile("{}"))
|
datalayer.geojson.storage.save(root / f"{path}.gz", ContentFile("{}"))
|
||||||
assert len(datalayer.geojson.storage.listdir(root)[1]) == 10 + before
|
assert len(datalayer.geojson.storage.listdir(root)[1]) == 10 + before
|
||||||
datalayer.delete()
|
datalayer.delete()
|
||||||
found = datalayer.geojson.storage.listdir(root)[1]
|
found = set(datalayer.geojson.storage.listdir(root)[1])
|
||||||
assert found == [other, f"{other}.gz"]
|
assert found == {other, f"{other}.gz"}
|
||||||
|
|
Loading…
Reference in a new issue