"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "680f1337c3c894b681ebbd24c18122a61e33715b"
Commit 13d9135f authored by Julien Chaumond's avatar Julien Chaumond
Browse files
parent f88c104d
...@@ -9,6 +9,10 @@ def pytest_addoption(parser): ...@@ -9,6 +9,10 @@ def pytest_addoption(parser):
) )
def pytest_configure(config):
config.addinivalue_line("markers", "slow: mark test as slow to run")
def pytest_collection_modifyitems(config, items): def pytest_collection_modifyitems(config, items):
if config.getoption("--runslow"): if config.getoption("--runslow"):
# --runslow given in cli: do not skip slow tests # --runslow given in cli: do not skip slow tests
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment