Apply suggestion from @daukadolt
This commit is contained in:
parent
6170d8972a
commit
e23175507e
1 changed files with 0 additions and 1 deletions
|
|
@ -105,7 +105,6 @@ def _load_adapter_with_stubs(monkeypatch):
|
||||||
engine_mod.DataPoint = _DataPoint
|
engine_mod.DataPoint = _DataPoint
|
||||||
|
|
||||||
# files.storage.get_file_storage stub
|
# files.storage.get_file_storage stub
|
||||||
files_storage_pkg = _install_stub("cognee.infrastructure.files")
|
|
||||||
storage_pkg = _install_stub("cognee.infrastructure.files.storage")
|
storage_pkg = _install_stub("cognee.infrastructure.files.storage")
|
||||||
storage_pkg.get_file_storage = lambda path: types.SimpleNamespace(
|
storage_pkg.get_file_storage = lambda path: types.SimpleNamespace(
|
||||||
ensure_directory_exists=lambda: None
|
ensure_directory_exists=lambda: None
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue