fix "No project found for the given test/v0.9."

This commit is contained in:
Simon Pistache 2023-05-08 11:54:39 +02:00
parent c1a221bd8a
commit b5aeabc813

View File

@ -46,7 +46,7 @@ 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["RELEASE_VERSION"]
project_slug = os.environ["PACKAGE_NAME"]
root_folder = os.environ["ENTRY_FOLDER"]
working_path = Path(root_folder, project_slug)
if not working_path.is_dir():