Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshdubey-star committed Dec 19, 2023
1 parent ad1fa4c commit fc4fc26
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/foreman/ui/test_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
def test_positive_verify_default_values_for_global_registration(
module_target_sat,
default_org,
default_location,
):
"""Check for all the Default values pre-populated in the global registration template
Expand All @@ -40,12 +39,9 @@ def test_positive_verify_default_values_for_global_registration(
{'organization-id': default_org.id, 'name': gen_string('alpha')}
)
with module_target_sat.ui_session() as session:
session.organization.select(org_name=default_org.name)
session.location.select(loc_name=default_location.name)
cmd = session.host.get_register_command(
full_read=True,
)

assert cmd['general']['organization'] == 'Default Organization'
assert cmd['general']['location'] == 'Default Location'
assert cmd['general']['capsule'] == 'Nothing to select.'
Expand Down

0 comments on commit fc4fc26

Please sign in to comment.