|
|
|
@ -17,7 +17,6 @@ if sys.version_info < (2, 7):
|
|
|
|
|
from ansible.module_utils.basic import AnsibleModule
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
from library.modules.bigiq_utility_license_assignment import ApiParameters
|
|
|
|
|
from library.modules.bigiq_utility_license_assignment import ModuleParameters
|
|
|
|
|
from library.modules.bigiq_utility_license_assignment import ModuleManager
|
|
|
|
|
from library.modules.bigiq_utility_license_assignment import ArgumentSpec
|
|
|
|
@ -25,11 +24,9 @@ try:
|
|
|
|
|
# In Ansible 2.8, Ansible changed import paths.
|
|
|
|
|
from test.units.compat import unittest
|
|
|
|
|
from test.units.compat.mock import Mock
|
|
|
|
|
from test.units.compat.mock import patch
|
|
|
|
|
|
|
|
|
|
from test.units.modules.utils import set_module_args
|
|
|
|
|
except ImportError:
|
|
|
|
|
from ansible.modules.network.f5.bigiq_utility_license_assignment import ApiParameters
|
|
|
|
|
from ansible.modules.network.f5.bigiq_utility_license_assignment import ModuleParameters
|
|
|
|
|
from ansible.modules.network.f5.bigiq_utility_license_assignment import ModuleManager
|
|
|
|
|
from ansible.modules.network.f5.bigiq_utility_license_assignment import ArgumentSpec
|
|
|
|
@ -37,7 +34,6 @@ except ImportError:
|
|
|
|
|
# Ansible 2.8 imports
|
|
|
|
|
from units.compat import unittest
|
|
|
|
|
from units.compat.mock import Mock
|
|
|
|
|
from units.compat.mock import patch
|
|
|
|
|
|
|
|
|
|
from units.modules.utils import set_module_args
|
|
|
|
|
|
|
|
|
|