Skip to content

Commit

Permalink
fix: forked networks now not considered staging
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickAlphaC committed Nov 16, 2024
1 parent 0436867 commit fc29b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moccasin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def pytest_configure(config):
def pytest_collection_modifyitems(config, items):
moccasin_config = get_or_initialize_config()
active_network = moccasin_config.get_active_network()
if active_network.live_or_staging:
if active_network.live_or_staging and not active_network.is_fork:
skip_non_staging = pytest.mark.skip(reason="Not a staging test")
for item in items:
if "staging" not in item.keywords:
Expand Down

0 comments on commit fc29b8e

Please sign in to comment.