From c25310d34f3ef454b7c3e363e0bd6802dab78e6e Mon Sep 17 00:00:00 2001 From: David Szotten Date: Mon, 15 Oct 2018 20:39:51 +0100 Subject: [PATCH] fix cacheprovider test --- testing/test_cacheprovider.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/test_cacheprovider.py b/testing/test_cacheprovider.py index 2444d8bc1..114a63683 100644 --- a/testing/test_cacheprovider.py +++ b/testing/test_cacheprovider.py @@ -63,7 +63,8 @@ class TestNewAPI(object): ) result = testdir.runpytest("-rw") 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): testdir.makeconftest(