pytest: Fix warning of unregistered marker
In Fedora 34, the pytest(6.2.2) will complain about `PytestUnknownMarkWarning`. Fixed the manual marker register code. Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
parent
9df988cb9d
commit
3e5aa19f55
@ -39,7 +39,9 @@ nmstate: {nmstate_version}
|
||||
|
||||
|
||||
def pytest_configure(config):
|
||||
config.addinivalue_line("markers", "slow tier1 tier2")
|
||||
config.addinivalue_line("markers", "slow: mark time consuming test")
|
||||
config.addinivalue_line("markers", "tier2")
|
||||
config.addinivalue_line("markers", "tier1")
|
||||
|
||||
|
||||
def pytest_addoption(parser):
|
||||
|
Loading…
x
Reference in New Issue
Block a user