Skip to content

Commit

Permalink
conftest.py fix to find version correctly when fetching old versions …
Browse files Browse the repository at this point in the history
…for upgrade tests
  • Loading branch information
juditnovak committed Aug 29, 2024
1 parent c515f14 commit 7cb4d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def fetch_old_versions():
for commit in last_commits:
check_call(f"git checkout {commit}", shell=True)
version = check_output(
"grep LIBPATCH lib/charms/data_platform_libs/v0/data_interfaces.py | cut -d ' ' -f 3",
"grep ^LIBPATCH lib/charms/data_platform_libs/v0/data_interfaces.py | cut -d ' ' -f 3",
shell=True,
universal_newlines=True,
)
Expand Down

0 comments on commit 7cb4d7f

Please sign in to comment.