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 <lukaszx.mrugala@intel.com>
This commit is contained in:
Lukasz Mrugala 2024-01-15 13:30:36 +00:00 committed by Anas Nashif
commit 8bcec18e25

View file

@ -23,6 +23,9 @@ sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts"))
testsuite_filename_mock = mock.PropertyMock(return_value='test_data.yaml')
def pytest_configure(config):
config.addinivalue_line("markers", "noclearout: disable the provide_out autouse fixture")
@pytest.fixture(name='zephyr_base')
def zephyr_base_directory():
return ZEPHYR_BASE