diff --git a/python_testcontainers/infrahub_testcontainers/helpers.py b/python_testcontainers/infrahub_testcontainers/helpers.py index 691ae44da8..39e5917cd9 100644 --- a/python_testcontainers/infrahub_testcontainers/helpers.py +++ b/python_testcontainers/infrahub_testcontainers/helpers.py @@ -12,7 +12,7 @@ class TestInfrahubDocker: @pytest.fixture(scope="class") def infrahub_version(self) -> str: - return infrahub_version + return os.getenv("INFRAHUB_TESTING_IMAGE_VER") or infrahub_version @staticmethod def execute_ctl_run(address: str, script: str) -> str: