Skip to content

Commit

Permalink
tests: fix prebuild uat install with new metapackages
Browse files Browse the repository at this point in the history
  • Loading branch information
orndorffgrant committed Jan 12, 2024
1 parent 098861d commit 61d5b07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion features/steps/ubuntu_advantage_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ def when_i_install_uat(context, machine_name=SUT):
)
logging.info("using debs: {}".format(deb_paths))
for deb_path in deb_paths:
if "advantage-pro" not in deb_path or is_pro:
if "ubuntu-advantage-tools" in deb_path or (
"ubuntu-advantage-pro" in deb_path and is_pro
):
instance.push_file(deb_path, "/tmp/behave_ua.deb")
when_i_apt_install(
context, "/tmp/behave_ua.deb", machine_name=machine_name
Expand Down

0 comments on commit 61d5b07

Please sign in to comment.