From 4efe97e82d5d77c87743af5142679f91c291c5e1 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Wed, 10 Jan 2024 05:24:13 -0500 Subject: [PATCH] [6.13.z] Fix domain read in discovery auto provision test (#13710) Fix domain read in discovery auto provision test (#13708) Signed-off-by: Gaurav Talreja (cherry picked from commit 6d75a026be2e234c88f39328408e716a2d91f51c) Co-authored-by: Gaurav Talreja --- tests/foreman/ui/test_discoveredhost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/foreman/ui/test_discoveredhost.py b/tests/foreman/ui/test_discoveredhost.py index 322571f5954..87b62e412e1 100644 --- a/tests/foreman/ui/test_discoveredhost.py +++ b/tests/foreman/ui/test_discoveredhost.py @@ -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(