Skip to content

Commit

Permalink
Merge db11980 into 0d66173
Browse files Browse the repository at this point in the history
  • Loading branch information
felddy committed Jul 5, 2019
2 parents 0d66173 + db11980 commit 4f8345e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ def pytest_addoption(parser):
)


def pytest_configure(config):
"""Register new markers."""
config.addinivalue_line("markers", "slow: mark test as slow")


def pytest_collection_modifyitems(config, items):
"""Modify collected tests based on custom marks and commandline options."""
if config.getoption("--runslow"):
Expand Down

0 comments on commit 4f8345e

Please sign in to comment.