Commit 0244253b authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

conftest: add the `_testing` flag which is now required for tests

... as long as the tests use a plain engine to perform write
parent 89f617ed704d
...@@ -25,4 +25,7 @@ def engine(request): ...@@ -25,4 +25,7 @@ def engine(request):
@pytest.fixture(scope='session') @pytest.fixture(scope='session')
def tsh(request, engine): def tsh(request, engine):
return TimeSerie() tsh = TimeSerie()
tsh._testing = True
tsh.auto_store._testing = True
return tsh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment