Skip to content

Commit

Permalink
Provided a dummy cli_int_version for tests from neither unit nor inte…
Browse files Browse the repository at this point in the history
…gration
  • Loading branch information
kkalinowski-reef committed Dec 13, 2023
1 parent b5f95f3 commit 8fa27eb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ def pytest_configure(config):
)


@pytest.fixture(scope='session')
def cli_int_version():
assert False, (
'This should never be called, only provides a placeholder for tests '
'not belonging to neither units nor integrations.'
)


@pytest.fixture(autouse=True)
def run_on_cli_version_handler(request, cli_int_version):
"""
Expand Down

0 comments on commit 8fa27eb

Please sign in to comment.