Skip to content

Commit

Permalink
testing discovery provisioning failure
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamsg199 committed Mar 8, 2024
1 parent 063ac02 commit 95010e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/foreman/cli/test_discoveredhost.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def test_rhel_pxe_discovery_provisioning(
discovered_host.location = provisioning_hostgroup.location[0]
discovered_host.organization = provisioning_hostgroup.organization[0]
discovered_host.build = True
discovered_host.update(['hostgroup', 'location', 'organization', 'build'])
result = sat.cli.DiscoveredHost.provision(
{
'id': discovered_host.id,
Expand Down Expand Up @@ -103,7 +104,7 @@ def test_rhel_pxeless_discovery_provisioning(
:Setup: Provisioning should be configured and a host should be
discovered via cli
:expectedresults: Host should be provisioned successfully
:expectedresults: Host should be provisioned successfully.
:CaseImportance: Critical
"""
Expand All @@ -121,6 +122,7 @@ def test_rhel_pxeless_discovery_provisioning(
discovered_host.location = provisioning_hostgroup.location[0]
discovered_host.organization = provisioning_hostgroup.organization[0]
discovered_host.build = True
discovered_host.update(['hostgroup', 'location', 'organization', 'build'])
result = sat.cli.DiscoveredHost.provision(
{
'id': discovered_host.id,
Expand Down

0 comments on commit 95010e5

Please sign in to comment.