Skip to content

Commit

Permalink
[6.13.z] Fix domain read in discovery auto provision test (#13710)
Browse files Browse the repository at this point in the history
Fix domain read in discovery auto provision test (#13708)

Signed-off-by: Gaurav Talreja <[email protected]>
(cherry picked from commit 6d75a02)

Co-authored-by: Gaurav Talreja <[email protected]>
  • Loading branch information
Satellite-QE and Gauravtalreja1 authored Jan 10, 2024
1 parent 05a4ede commit 4efe97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/ui/test_discoveredhost.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def test_positive_auto_provision_host_with_rule(
discovered_host.build = True

discovered_host_name = discovered_host.name
domain_name = provisioning_hostgroup.domain.name
domain_name = provisioning_hostgroup.domain.read().name
host_name = f'{discovered_host_name}.{domain_name}'

discovery_rule = sat.api.DiscoveryRule(
Expand Down

0 comments on commit 4efe97e

Please sign in to comment.