From 4a8be5ed0eccabc3b05dcea52976834112dd7cf0 Mon Sep 17 00:00:00 2001 From: George Powley Date: Wed, 11 Sep 2024 13:17:31 -0500 Subject: [PATCH] Fix delete dataset test (#772) --- apis/python/tests/test_tiledbvcf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/python/tests/test_tiledbvcf.py b/apis/python/tests/test_tiledbvcf.py index bdea039d8..95718f2a0 100755 --- a/apis/python/tests/test_tiledbvcf.py +++ b/apis/python/tests/test_tiledbvcf.py @@ -2112,10 +2112,10 @@ def test_delete_dataset(tmp_path): ds.create_dataset() # Check that the dataset exists - assert tiledb.object_type(uri) + assert os.path.exists(uri) # Delete the dataset tiledbvcf.Dataset.delete(uri) # Check that the dataset does not exist - assert not tiledb.object_type(uri) + assert not os.path.exists(uri)