diff --git a/src/test_images_job/test_wpp.py b/src/test_images_job/test_wpp.py index 3bdda88..6b26138 100644 --- a/src/test_images_job/test_wpp.py +++ b/src/test_images_job/test_wpp.py @@ -46,8 +46,8 @@ def validate_brightness_image(working_path, theme_config, high_light, image_list @pytest.fixture def working_path(): # get the global variables containing gitlab-given project slug. - project_slug = os.environ["WPP_SLUG"] - root_folder = os.environ["WPP_ROOT"] + project_slug = os.environ["RELEASE_VERSION"] + root_folder = os.environ["ENTRY_FOLDER"] working_path = Path(root_folder, project_slug) if not working_path.is_dir(): raise FileNotFoundError(f"No project found for the given {working_path}.")