refactor: update test with cache change
This commit is contained in:
parent
e24707c8da
commit
9a9eacf8c8
1 changed files with 4 additions and 4 deletions
|
|
@ -41,14 +41,14 @@ async def _reset_engines_and_prune() -> None:
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
from cognee.infrastructure.databases.graph.get_graph_engine import create_graph_engine
|
|
||||||
from cognee.infrastructure.databases.relational.create_relational_engine import (
|
from cognee.infrastructure.databases.relational.create_relational_engine import (
|
||||||
create_relational_engine,
|
create_relational_engine,
|
||||||
)
|
)
|
||||||
from cognee.infrastructure.databases.vector.create_vector_engine import create_vector_engine
|
from cognee.infrastructure.databases.vector.create_vector_engine import _create_vector_engine
|
||||||
|
from cognee.infrastructure.databases.graph.get_graph_engine import _create_graph_engine
|
||||||
|
|
||||||
create_graph_engine.cache_clear()
|
_create_graph_engine.cache_clear()
|
||||||
create_vector_engine.cache_clear()
|
_create_vector_engine.cache_clear()
|
||||||
create_relational_engine.cache_clear()
|
create_relational_engine.cache_clear()
|
||||||
|
|
||||||
await cognee.prune.prune_data()
|
await cognee.prune.prune_data()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue