Use a custom cache directory for test_stepwise tests
Otherwise the tests will use tox's env cache which makes them flaky
This commit is contained in:
@@ -41,6 +41,14 @@ def test_success():
|
|||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# customize cache directory so we don't use the tox's cache directory, which makes tests in this module flaky
|
||||||
|
testdir.makeini(
|
||||||
|
"""
|
||||||
|
[pytest]
|
||||||
|
cache_dir = .cache
|
||||||
|
"""
|
||||||
|
)
|
||||||
|
|
||||||
return testdir
|
return testdir
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user