diff --git a/tests/unit/modules/cloud/google/test_gcp_forwarding_rule.py b/tests/unit/modules/cloud/google/test_gcp_forwarding_rule.py index c8c99e720e..ebaf6bb51f 100644 --- a/tests/unit/modules/cloud/google/test_gcp_forwarding_rule.py +++ b/tests/unit/modules/cloud/google/test_gcp_forwarding_rule.py @@ -1,6 +1,6 @@ import unittest -from ansible_collections.community.general.plugins.modules.cloud.google._gcp_forwarding_rule import _build_global_forwarding_rule_dict +from ansible_collections.community.general.plugins.modules.cloud.google.gcp_forwarding_rule import _build_global_forwarding_rule_dict class TestGCPFowardingRule(unittest.TestCase): diff --git a/tests/unit/modules/cloud/google/test_gcp_url_map.py b/tests/unit/modules/cloud/google/test_gcp_url_map.py index 2943fe7906..9c3a17c5ce 100644 --- a/tests/unit/modules/cloud/google/test_gcp_url_map.py +++ b/tests/unit/modules/cloud/google/test_gcp_url_map.py @@ -1,6 +1,6 @@ import unittest -from ansible_collections.community.general.plugins.modules.cloud.google._gcp_url_map import _build_path_matchers, _build_url_map_dict +from ansible_collections.community.general.plugins.modules.cloud.google.gcp_url_map import _build_path_matchers, _build_url_map_dict class TestGCPUrlMap(unittest.TestCase): diff --git a/tests/unit/modules/remote_management/oneview/hpe_test_utils.py b/tests/unit/modules/remote_management/oneview/hpe_test_utils.py index 301ed75cc8..45c392dd99 100644 --- a/tests/unit/modules/remote_management/oneview/hpe_test_utils.py +++ b/tests/unit/modules/remote_management/oneview/hpe_test_utils.py @@ -39,7 +39,7 @@ class OneViewBaseTest(object): resource_module_path_name = re.findall('[A-Z][^A-Z]*', resource_module_path_name) resource_module_path_name = 'oneview_' + str.join('_', resource_module_path_name).lower() - ansible = __import__('ansible') + ansible_collections = __import__('ansible_collections') oneview_module = ansible_collections.community.general.plugins.modules.remote_management.oneview resource_module = getattr(oneview_module, resource_module_path_name) self.testing_class = getattr(resource_module, resource_name)