refactor: Update test
This commit is contained in:
parent
039866397b
commit
cc72e7fd76
1 changed files with 2 additions and 6 deletions
|
|
@ -62,12 +62,8 @@ async def main():
|
||||||
await delete_dataset(dataset)
|
await delete_dataset(dataset)
|
||||||
|
|
||||||
# Confirm databases have been deleted
|
# Confirm databases have been deleted
|
||||||
assert not os.path.exists(
|
assert not os.path.exists(graph_db_path), "Graph database file found."
|
||||||
os.path.join(cognee_directory_path, "databases", str(user.id), str(val))
|
assert not os.path.exists(vector_db_path), "Vector database file found."
|
||||||
), "Graph database file not found."
|
|
||||||
assert not os.path.exists(
|
|
||||||
os.path.join(cognee_directory_path, "databases", str(user.id), str(val))
|
|
||||||
), "Vector database file not found."
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue