|
|
@ -39,7 +39,7 @@ def XenAPI():
|
|
|
|
|
|
|
|
|
|
|
|
# First we use importlib.import_module() to import the module and assign
|
|
|
|
# First we use importlib.import_module() to import the module and assign
|
|
|
|
# it to a local symbol.
|
|
|
|
# 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
|
|
|
|
# Now we populate Python module cache with imported fake module using the
|
|
|
|
# original module name (XenAPI). That way, any 'import XenAPI' statement
|
|
|
|
# original module name (XenAPI). That way, any 'import XenAPI' statement
|
|
|
|