Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#################################################
def pytest_addoption(parser):
parser.addoption("--integration", action="store_true", default=False, help="Run integration tests")
parser.addoption("--plugins", action="store_true", default=False, help="Run only plugins tests")
parser.addoption("--plugins", action="store_true", dest="bst_plugins", default=False, help="Run only plugins tests")
parser.addoption("--remote-execution", action="store_true", default=False, help="Run remote-execution tests only")
parser.addoption("--remote-cache", action="store_true", default=False, help="Run remote-cache tests only")

Expand Down Expand Up @@ -74,7 +74,7 @@ def pytest_collection_modifyitems(session, config, items):
item.add_marker(pytest.mark.skip("skipping remote-cache test"))

# With --plugins only run plugins tests
if config.getvalue("plugins"):
if config.getvalue("bst_plugins"):
if not item.get_closest_marker("generic_source_test"):
item.add_marker(pytest.mark.skip("Skipping not generic source test"))

Expand Down
Loading