diff --git a/tests/system_tests/hyperion/external_interaction/test_load_centre_collect_full_plan.py b/tests/system_tests/hyperion/external_interaction/test_load_centre_collect_full_plan.py index b8b378cc8..3c409f51a 100644 --- a/tests/system_tests/hyperion/external_interaction/test_load_centre_collect_full_plan.py +++ b/tests/system_tests/hyperion/external_interaction/test_load_centre_collect_full_plan.py @@ -50,6 +50,8 @@ ) from .conftest import raw_params_from_file +SAMPLE_ID = os.environ.get("ST_SAMPLE_ID", 5461074) + @pytest.fixture def load_centre_collect_params(): @@ -57,7 +59,7 @@ def load_centre_collect_params(): "tests/test_data/parameter_json_files/example_load_centre_collect_params.json" ) json_dict["visit"] = os.environ.get("ST_VISIT", "cm37235-4") - json_dict["sample_id"] = os.environ.get("ST_SAMPLE_ID", 5461074) + json_dict["sample_id"] = SAMPLE_ID return LoadCentreCollect(**json_dict)