diff options
Diffstat (limited to 'test/units/modules/network/f5')
-rw-r--r-- | test/units/modules/network/f5/test_bigip_device_info.py (renamed from test/units/modules/network/f5/test_bigip_device_facts.py) | 24 | ||||
-rw-r--r-- | test/units/modules/network/f5/test_bigiq_device_info.py (renamed from test/units/modules/network/f5/test_bigiq_device_facts.py) | 16 |
2 files changed, 20 insertions, 20 deletions
diff --git a/test/units/modules/network/f5/test_bigip_device_facts.py b/test/units/modules/network/f5/test_bigip_device_info.py index 9cb282f1d1..6b349ba280 100644 --- a/test/units/modules/network/f5/test_bigip_device_facts.py +++ b/test/units/modules/network/f5/test_bigip_device_info.py @@ -18,11 +18,11 @@ from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.six import iteritems try: - from library.modules.bigip_device_facts import Parameters - from library.modules.bigip_device_facts import VirtualAddressesFactManager - from library.modules.bigip_device_facts import VirtualAddressesParameters - from library.modules.bigip_device_facts import ArgumentSpec - from library.modules.bigip_device_facts import ModuleManager + from library.modules.bigip_device_info import Parameters + from library.modules.bigip_device_info import VirtualAddressesFactManager + from library.modules.bigip_device_info import VirtualAddressesParameters + from library.modules.bigip_device_info import ArgumentSpec + from library.modules.bigip_device_info import ModuleManager # In Ansible 2.8, Ansible changed import paths. from test.units.compat import unittest @@ -31,11 +31,11 @@ try: from test.units.modules.utils import set_module_args except ImportError: - from ansible.modules.network.f5.bigip_device_facts import Parameters - from ansible.modules.network.f5.bigip_device_facts import VirtualAddressesFactManager - from ansible.modules.network.f5.bigip_device_facts import VirtualAddressesParameters - from ansible.modules.network.f5.bigip_device_facts import ArgumentSpec - from ansible.modules.network.f5.bigip_device_facts import ModuleManager + from ansible.modules.network.f5.bigip_device_info import Parameters + from ansible.modules.network.f5.bigip_device_info import VirtualAddressesFactManager + from ansible.modules.network.f5.bigip_device_info import VirtualAddressesParameters + from ansible.modules.network.f5.bigip_device_info import ArgumentSpec + from ansible.modules.network.f5.bigip_device_info import ModuleManager # Ansible 2.8 imports from units.compat import unittest @@ -89,11 +89,11 @@ class TestManager(unittest.TestCase): self.spec = ArgumentSpec() try: - self.p1 = patch('library.modules.bigip_device_facts.modules_provisioned') + self.p1 = patch('library.modules.bigip_device_info.modules_provisioned') self.m1 = self.p1.start() self.m1.return_value = ['ltm', 'gtm', 'asm'] except Exception: - self.p1 = patch('ansible.modules.network.f5.bigip_device_facts.modules_provisioned') + self.p1 = patch('ansible.modules.network.f5.bigip_device_info.modules_provisioned') self.m1 = self.p1.start() self.m1.return_value = ['ltm', 'gtm', 'asm'] diff --git a/test/units/modules/network/f5/test_bigiq_device_facts.py b/test/units/modules/network/f5/test_bigiq_device_info.py index 1aa6094a79..c8b328bdc5 100644 --- a/test/units/modules/network/f5/test_bigiq_device_facts.py +++ b/test/units/modules/network/f5/test_bigiq_device_info.py @@ -17,10 +17,10 @@ if sys.version_info < (2, 7): from ansible.module_utils.basic import AnsibleModule try: - from library.modules.bigiq_device_facts import Parameters - from library.modules.bigiq_device_facts import SystemInfoFactManager - from library.modules.bigiq_device_facts import ModuleManager - from library.modules.bigiq_device_facts import ArgumentSpec + from library.modules.bigiq_device_info import Parameters + from library.modules.bigiq_device_info import SystemInfoFactManager + from library.modules.bigiq_device_info import ModuleManager + from library.modules.bigiq_device_info import ArgumentSpec # In Ansible 2.8, Ansible changed import paths. from test.units.compat import unittest @@ -29,10 +29,10 @@ try: from test.units.modules.utils import set_module_args except ImportError: - from ansible.modules.network.f5.bigiq_device_facts import Parameters - from ansible.modules.network.f5.bigiq_device_facts import SystemInfoFactManager - from ansible.modules.network.f5.bigiq_device_facts import ModuleManager - from ansible.modules.network.f5.bigiq_device_facts import ArgumentSpec + from ansible.modules.network.f5.bigiq_device_info import Parameters + from ansible.modules.network.f5.bigiq_device_info import SystemInfoFactManager + from ansible.modules.network.f5.bigiq_device_info import ModuleManager + from ansible.modules.network.f5.bigiq_device_info import ArgumentSpec # Ansible 2.8 imports from units.compat import unittest |