From 7110cc74416afd1a79c623332f1ccc7f71db135f Mon Sep 17 00:00:00 2001 From: Gaurav Talreja Date: Wed, 10 Jan 2024 15:30:41 +0530 Subject: [PATCH] Fix domain read in discovery auto provision test (#13708) Signed-off-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 fc3915f0fa..ee437cfe89 100644 --- a/tests/foreman/ui/test_discoveredhost.py +++ b/tests/foreman/ui/test_discoveredhost.py @@ -189,7 +189,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(