Skip to content

Commit

Permalink
Merge pull request #69 from candlepin/ptoscano/new-syspurpose
Browse files Browse the repository at this point in the history
chore: test: use the new syspurpose command
  • Loading branch information
jirihnidek authored Jul 15, 2024
2 parents 67546bd + ccfbc13 commit 5529ef7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/check-subscriptions
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,11 @@ class TestSubscriptions(SubscriptionsCase):
b.wait_visible("#overview a:contains('3 hits, including important')")

# test system purpose
m.execute(["subscription-manager", "role", "--set", "Red Hat Enterprise Linux Workstation"])
m.execute(["subscription-manager", "usage", "--set", "Development/Test"])
m.execute(["subscription-manager", "service-level", "--set", "Standard"])
m.execute(
["subscription-manager", "syspurpose", "role", "--set", "Red Hat Enterprise Linux Workstation"]
)
m.execute(["subscription-manager", "syspurpose", "usage", "--set", "Development/Test"])
m.execute(["subscription-manager", "syspurpose", "service-level", "--set", "Standard"])
b.wait_in_text("#syspurpose", "Standard")
b.wait_in_text("#syspurpose", "Development/Test")
b.wait_in_text("#syspurpose", "Red Hat Enterprise Linux Workstation")
Expand Down

0 comments on commit 5529ef7

Please sign in to comment.