Skip to content
Prev Previous commit
fix: change empty relational db assert
  • Loading branch information
borisarzentar committed Mar 29, 2025
commit d1d1ef874442092a2fece78ac940922af985e8e8
6 changes: 3 additions & 3 deletions cognee/tests/test_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ async def main():

from cognee.infrastructure.databases.relational import get_relational_engine

assert not os.path.exists(get_relational_engine().db_path), (
"SQLite relational database is not empty"
)
with open(get_relational_engine().db_path, "r") as file:
content = file.read()
assert content == "", "SQLite relational database is not empty"
Comment thread
borisarzentar marked this conversation as resolved.

from cognee.infrastructure.databases.graph import get_graph_config

Expand Down
Loading