cache is set by the cacheprovider

This commit is contained in:
David Szotten 2018-10-17 09:08:40 +01:00
parent c25310d34f
commit e478f66d8b
1 changed files with 1 additions and 3 deletions

View File

@ -1,4 +1,3 @@
from _pytest.cacheprovider import Cache
import pytest
@ -19,9 +18,8 @@ def pytest_addoption(parser):
)
@pytest.hookimpl(tryfirst=True)
@pytest.hookimpl
def pytest_configure(config):
config.cache = Cache.for_config(config)
config.pluginmanager.register(StepwisePlugin(config), "stepwiseplugin")