Skip to content

Commit

Permalink
scripts: tests: blackbox noclearout mark warning removal
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
LukaszMrugala authored and nashif committed Jan 18, 2024
1 parent b0a83a9 commit 8bcec18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/tests/twister_blackbox/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@

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
Expand Down

0 comments on commit 8bcec18

Please sign in to comment.