Update test_cache_config.py
This commit is contained in:
parent
d2321a68e8
commit
0e44a77104
1 changed files with 0 additions and 8 deletions
|
|
@ -4,14 +4,6 @@ import pytest
|
||||||
from cognee.infrastructure.databases.cache.config import CacheConfig, get_cache_config
|
from cognee.infrastructure.databases.cache.config import CacheConfig, get_cache_config
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
|
||||||
def reset_cache_config_singleton():
|
|
||||||
"""Reset the singleton instance between tests."""
|
|
||||||
get_cache_config.cache_clear()
|
|
||||||
yield
|
|
||||||
get_cache_config.cache_clear()
|
|
||||||
|
|
||||||
|
|
||||||
def test_cache_config_defaults():
|
def test_cache_config_defaults():
|
||||||
"""Test that CacheConfig has the correct default values."""
|
"""Test that CacheConfig has the correct default values."""
|
||||||
config = CacheConfig()
|
config = CacheConfig()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue