Skip to content

Commit 248ac04

Browse files
committed
fix: register with_crashpad_wer marker to get rid of the pytest warning
1 parent 903c17a commit 248ac04

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/conftest.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,10 @@ def pytest_runtest_setup(item):
4343
"--with_crashpad_wer"
4444
):
4545
pytest.skip("need --with_crashpad_wer to run this test")
46+
47+
48+
def pytest_configure(config):
49+
config.addinivalue_line(
50+
"markers",
51+
"with_crashpad_wer: mark test to only run when WER testing is enabled",
52+
)

0 commit comments

Comments
 (0)