Skip to content

Commit

Permalink
tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adolkhan authored and adolkhan committed Oct 9, 2023
1 parent 77d3d4a commit d1c326b
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions deeplake/core/vectorstore/test_deepmemory.py
Expand Up @@ -311,12 +311,13 @@ def test_deepmemory_evaluate_without_logging(
},
)
sleep(15)
with pytest.raises(ValueError):
queries_dataset = VectorStore(
path=query_path,
token=hub_cloud_dev_token,
read_only=True,
)

queries_dataset = VectorStore(
path=query_path,
token=hub_cloud_dev_token,
read_only=True,
)
assert len(queries_dataset) == 0


@pytest.mark.slow
Expand Down Expand Up @@ -386,12 +387,13 @@ def test_deepmemory_evaluate_without_qvs_params(
)

sleep(15)
with pytest.raises(ValueError):
queries_dataset = VectorStore(
path=query_path,
token=hub_cloud_dev_token,
read_only=True,
)

queries_dataset = VectorStore(
path=query_path,
token=hub_cloud_dev_token,
read_only=True,
)
assert len(queries_dataset) == 0


@pytest.mark.slow
Expand Down

0 comments on commit d1c326b

Please sign in to comment.