Skip to content

Commit

Permalink
docstring fails
Browse files Browse the repository at this point in the history
  • Loading branch information
damoore044 committed May 30, 2024
1 parent dccc72f commit 3dc5ef1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions robottelo/host_helpers/api_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,11 +292,13 @@ def configure_provisioning(self, org=None, loc=None, compute=False, os=None):
ipam='DHCP',
).create()

# Search if Libvirt compute-resource already exists
# If so, just update its relevant fields otherwise,
# Create new compute-resource with 'libvirt' provider.
# compute boolean is added to not block existing test's that depend on
# Libvirt resource and use this same functionality to all CR's.
"""
Search if Libvirt compute-resource already exists
If so, just update its relevant fields otherwise,
Create new compute-resource with 'libvirt' provider.
compute boolean is added to not block existing test's that depend on
Libvirt resource and use this same functionality to all CR's.
"""
if compute is False:
resource_url = f'qemu+ssh://root@{settings.libvirt.libvirt_hostname}/system'
comp_res = [
Expand Down

0 comments on commit 3dc5ef1

Please sign in to comment.