From 0df67f6548612c962980372758dccd08a6e1f755 Mon Sep 17 00:00:00 2001 From: Patrick Collins <54278053+PatrickAlphaC@users.noreply.github.com> Date: Sat, 16 Nov 2024 08:55:56 -0500 Subject: [PATCH] fix: forked networks now not considered staging (#155) * fix: forked networks now not considered staging * release: 0.3.4b3 pre-release --- moccasin/plugin.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/moccasin/plugin.py b/moccasin/plugin.py index 3d0535e..37bb9c0 100644 --- a/moccasin/plugin.py +++ b/moccasin/plugin.py @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 67100cd..be1ef58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "moccasin" -version = "0.3.4b2" +version = "0.3.4b3" description = "Pythonic smart contract development framework using Titanoboa" authors = [ { name = "PatrickAlphac", email = "54278053+PatrickAlphaC@users.noreply.github.com" },