Skip to content

Commit 4a8be5e

Browse files
authored
Fix delete dataset test (#772)
1 parent bb9806d commit 4a8be5e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apis/python/tests/test_tiledbvcf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,10 +2112,10 @@ def test_delete_dataset(tmp_path):
21122112
ds.create_dataset()
21132113

21142114
# Check that the dataset exists
2115-
assert tiledb.object_type(uri)
2115+
assert os.path.exists(uri)
21162116

21172117
# Delete the dataset
21182118
tiledbvcf.Dataset.delete(uri)
21192119

21202120
# Check that the dataset does not exist
2121-
assert not tiledb.object_type(uri)
2121+
assert not os.path.exists(uri)

0 commit comments

Comments
 (0)