cache is set by the cacheprovider
This commit is contained in:
parent
c25310d34f
commit
e478f66d8b
|
@ -1,4 +1,3 @@
|
||||||
from _pytest.cacheprovider import Cache
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,9 +18,8 @@ def pytest_addoption(parser):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@pytest.hookimpl(tryfirst=True)
|
@pytest.hookimpl
|
||||||
def pytest_configure(config):
|
def pytest_configure(config):
|
||||||
config.cache = Cache.for_config(config)
|
|
||||||
config.pluginmanager.register(StepwisePlugin(config), "stepwiseplugin")
|
config.pluginmanager.register(StepwisePlugin(config), "stepwiseplugin")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue