Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart committed Dec 11, 2023
1 parent 5ddeeab commit d36d550
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/integrationv2/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ def pytest_addoption(parser):
default="off", type=str, choices=['off', 'baseline', 'delta'], help="Use Criterion provider in one of 3 modes: [off,baseline,delta]")






def pytest_configure(config):
"""
pytest hook that adds the function to deselect tests if the parameters
don't makes sense.
"""
config.addinivalue_line(
"markers", "uncollect_if(*, func): function to unselect tests from parametrization"
)
config.addinivalue_line("markers", "uncollect_if(*, func): function to unselect tests from parametrization")

no_pq = config.getoption('no-pq', 0)
fips_mode = config.getoption('fips-mode', 0)
Expand All @@ -33,6 +35,7 @@ def pytest_configure(config):


def pytest_collection_modifyitems(config, items):

"""
pytest hook to modify the test arguments to call the uncollect function.
"""
Expand Down

0 comments on commit d36d550

Please sign in to comment.