Skip to content

Commit

Permalink
Fix charm path in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chanchiwai-ray committed Feb 25, 2025
1 parent 26a7643 commit 1d53ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def required_resources(resources: list[Resource], provided_collectors: set) -> l
@pytest.fixture(scope="module")
def charm_path(base: str, architecture: str) -> Path:
"""Fixture to determine the charm path based on the base and architecture."""
glob_path = f"hardware-observer_*{base.replace('@', '-')}-{architecture}*.charm"
glob_path = f"hardware-observer_*{base}-{architecture}*.charm"
paths = list(Path(".").glob(glob_path))

if not paths:
Expand Down

0 comments on commit 1d53ca8

Please sign in to comment.