Skip to content

Commit 669a509

Browse files
committed
Fix PythonUnknownMarkWarning then running tests
Pytest does not recognize the 'datafiles' mark provided by the corresponding plugin. The solution is to register this mark as a custom one in pytest.ini, as suggested by the warning message itself.
1 parent c66b175 commit 669a509

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pytest.ini

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[pytest]
2+
markers =
3+
datafiles: pytest-datafiles plugin marker. This avoids warning message.

0 commit comments

Comments
 (0)