Skip to content

Commit 8bcec18

Browse files
LukaszMrugalanashif
authored andcommitted
scripts: tests: blackbox noclearout mark warning removal
Currently, the noclearout pytest mark generates warnings because it is not registered. This commit adds its registration in the relevant conftest. Signed-off-by: Lukasz Mrugala <[email protected]>
1 parent b0a83a9 commit 8bcec18

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/tests/twister_blackbox/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323

2424
testsuite_filename_mock = mock.PropertyMock(return_value='test_data.yaml')
2525

26+
def pytest_configure(config):
27+
config.addinivalue_line("markers", "noclearout: disable the provide_out autouse fixture")
28+
2629
@pytest.fixture(name='zephyr_base')
2730
def zephyr_base_directory():
2831
return ZEPHYR_BASE

0 commit comments

Comments
 (0)