mirror of
https://gitlab.com/Thoscellen/Wallset.git
synced 2025-05-31 19:04:51 +02:00
Fix passation d'environement.
This commit is contained in:
parent
429acc65c2
commit
c1a221bd8a
@ -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}.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user