Skip to content

Hardcoded repository path in test_modify_web_content.py #518

@brianredbeard

Description

@brianredbeard

Description

The test file hardcodes the path ~/validated_patterns/multicloud-gitops which won't work in different environments or CI systems.

Location

https://github.com/validatedpatterns/multicloud-gitops/blob/main/tests/interop/test_modify_web_content.py#L47-L54

chart = (
    f"{os.environ['HOME']}"
    + "/validated_patterns/multicloud-gitops/charts/"
    + "all/hello-world/templates/hello-world-cm.yaml"
)

Expected Behavior

Use an environment variable with a sensible default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions