mirror of
https://github.com/chatmail/relay.git
synced 2026-05-15 02:14:36 +00:00
add marker dynamically to allow "pytest" to execute nicely at repo root without warnings
This commit is contained in:
@@ -18,6 +18,9 @@ def pytest_addoption(parser):
|
||||
|
||||
def pytest_configure(config):
|
||||
config._benchresults = {}
|
||||
config.addinivalue_line(
|
||||
"markers", "slow: mark test to require --slow option to run"
|
||||
)
|
||||
|
||||
|
||||
def pytest_runtest_setup(item):
|
||||
|
||||
Reference in New Issue
Block a user