create the previously missing cache fixture

there was a disabled test
This commit is contained in:
Ronny Pfannschmidt
2015-07-24 20:32:50 +02:00
parent 1de38a25fc
commit 2e87cf4a62
2 changed files with 5 additions and 1 deletions

View File

@@ -171,6 +171,10 @@ def pytest_configure(config):
config.pluginmanager.register(LFPlugin(config), "lfplugin")
@pytest.fixture
def cache(request):
return request.config.cache
def pytest_report_header(config):
if config.option.verbose:
relpath = py.path.local().bestrelpath(config.cache._cachedir)