mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
XenServer: Fix wrong FakeXenAPI module import in unit tests (#53634)
This commit is contained in:
parent
c5e5fef67e
commit
edcd921258
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def XenAPI():
|
|||
|
||||
# First we use importlib.import_module() to import the module and assign
|
||||
# it to a local symbol.
|
||||
fake_xenapi = importlib.import_module('units.module_utils.xenserver.FakeXenAPI')
|
||||
fake_xenapi = importlib.import_module('units.modules.cloud.xenserver.FakeXenAPI')
|
||||
|
||||
# Now we populate Python module cache with imported fake module using the
|
||||
# original module name (XenAPI). That way, any 'import XenAPI' statement
|
||||
|
|
Loading…
Reference in a new issue