Skip to content

Commit

Permalink
[6.15.z] Fix domain read in discovery auto provision test (#13712)
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 4a4803d commit 99edd42
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 99edd42

Please sign in to comment.