Apply suggestion from @daukadolt

This commit is contained in:
Daulet Amirkhanov 2025-08-19 11:47:20 +01:00 committed by GitHub
parent 6170d8972a
commit e23175507e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,7 +105,6 @@ def _load_adapter_with_stubs(monkeypatch):
engine_mod.DataPoint = _DataPoint
# files.storage.get_file_storage stub
files_storage_pkg = _install_stub("cognee.infrastructure.files")
storage_pkg = _install_stub("cognee.infrastructure.files.storage")
storage_pkg.get_file_storage = lambda path: types.SimpleNamespace(
ensure_directory_exists=lambda: None