Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornet committed Mar 13, 2024
1 parent 33b4e6f commit b65e554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/astradb/tests/integration_tests/test_caches.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def async_astradb_cache() -> AsyncIterator[AstraDBCache]:
setup_mode=SetupMode.ASYNC,
)
yield cache
await aretry(cache.collection.astra_db.delete_collection, args=["lc_integration_test_cache_async"])
await aretry(cache.async_collection.astra_db.delete_collection, args=["lc_integration_test_cache_async"])


@pytest.fixture(scope="module")
Expand Down Expand Up @@ -166,7 +166,7 @@ async def async_astradb_semantic_cache() -> AsyncIterator[AstraDBSemanticCache]:
)
yield sem_cache
await aretry(sem_cache.async_collection.astra_db.delete_collection,
args=["lc_integration_test_sem_cache_async"])
args=["lc_integration_test_sem_cache_async"])


@pytest.mark.skipif(not _has_env_vars(), reason="Missing Astra DB env. vars")
Expand Down

0 comments on commit b65e554

Please sign in to comment.