Skip to content

Commit

Permalink
Fix search issue in prt
Browse files Browse the repository at this point in the history
  • Loading branch information
damoore044 committed Dec 12, 2023
1 parent 3929256 commit 733525d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/foreman/ui/test_contenthost.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ def test_positive_end_to_end(
assert rhel_status in host_rhel_lcs['permission_denied']
assert rhel_status in host_status
# Ensure content host is searchable
found_chost = session.contenthost.search(vm.hostname)
found_chost = session.contenthost.search(f'{vm.hostname}')
assert found_chost, f'Search for contenthost by name: "{vm.hostname}", returned no results.'
assert found_chost[0]['Name'] == vm.hostname
chost = session.contenthost.read(
vm.hostname, widget_names=['details', 'provisioning_details', 'subscriptions']
Expand Down

0 comments on commit 733525d

Please sign in to comment.