Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Feb 21, 2024
1 parent d476d46 commit 7fd9c58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_hdxms_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,15 @@ def test_empty_vault(tmp_path):
vault = DataVault(cache_dir=tmp_path)
assert len(vault.datasets) == 0

idx = vault.remote_index
idx = vault.get_index()
assert isinstance(idx, pd.DataFrame)
assert len(idx) > 0

assert vault.fetch_dataset(DATA_ID)
assert DATA_ID in vault.datasets

ds = vault.load_dataset(DATA_ID)
assert isinstance(ds, DataSet)

vault.clear_cache()
assert len(vault.datasets) == 0
Expand Down

0 comments on commit 7fd9c58

Please sign in to comment.