Skip to content

Commit

Permalink
Revert change to activation key creation in tests (#10654)
Browse files Browse the repository at this point in the history
* Revert change to activation key creation in tests

#10209 introduced a change
to a CLI activation key test that was erroneous and is now causing test
failures. This PR reverts that change.

* Address reviewer feedback
  • Loading branch information
synkd authored Feb 8, 2023
1 parent b09227f commit 9564cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/cli/test_activationkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_positive_create_with_name(module_target_sat, module_entitlement_manifes
:parametrized: yes
"""
new_ak = module_target_sat.cli.make_activation_key(
new_ak = module_target_sat.cli_factory.make_activation_key(
{'organization-id': module_entitlement_manifest_org.id, 'name': name}
)
assert new_ak['name'] == name
Expand Down

0 comments on commit 9564cd7

Please sign in to comment.