fix cacheprovider test

This commit is contained in:
David Szotten 2018-10-15 20:39:51 +01:00
parent d67d189d00
commit c25310d34f
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@ class TestNewAPI(object):
) )
result = testdir.runpytest("-rw") result = testdir.runpytest("-rw")
assert result.ret == 1 assert result.ret == 1
result.stdout.fnmatch_lines(["*could not create cache path*", "*2 warnings*"]) # warnings from nodeids, lastfailed, and stepwise
result.stdout.fnmatch_lines(["*could not create cache path*", "*3 warnings*"])
def test_config_cache(self, testdir): def test_config_cache(self, testdir):
testdir.makeconftest( testdir.makeconftest(