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 d8bb4a2 commit f283447Copy full SHA for f283447
tests/conftest.py
@@ -125,6 +125,14 @@ def create_app_file(code, filename):
125
126
monkeypatch.delenv('PYTEST_ADDOPTS', raising=False)
127
128
+ # Monkeypatch runpytest_subprocess to include --strict always.
129
+ orig = testdir.runpytest_subprocess
130
+
131
+ def runpytest_subprocess(self, *args, **kwargs):
132
+ args = ('--strict',) + args
133
+ return orig(self, *args, **kwargs)
134
+ testdir.runpytest_subprocess = runpytest_subprocess
135
136
return testdir
137
138
0 commit comments