tests: disable cachew in my.tests subpackage

This commit is contained in:
Dima Gerasimov 2024-08-25 23:06:26 +01:00 committed by karlicoss
parent 7cae9d5bf3
commit 094519acaf

8
my/tests/conftest.py Normal file
View file

@ -0,0 +1,8 @@
import pytest
# I guess makes sense by default
@pytest.fixture(autouse=True)
def without_cachew():
from my.core.cachew import disabled_cachew
with disabled_cachew():
yield