We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19e522a commit 36a7f41Copy full SHA for 36a7f41
testing/test_cache.py
@@ -87,6 +87,14 @@ def test_cachefuncarg(cache):
87
assert result.ret == 0
88
result.stdout.fnmatch_lines(["*1 passed*"])
89
90
+ def test_custom_cache_dirname(self, testdir):
91
+ testdir.makeini("""
92
+ [pytest]
93
+ cache_dirname = custom_cache_dirname
94
+ """)
95
+ testdir.makepyfile(test_errored='def test_error():\n assert False')
96
+ testdir.runpytest()
97
+ assert os.path.exists('custom_cache_dirname')
98
99
100
def test_cache_reportheader(testdir):
0 commit comments