Fix more tests.

This commit is contained in:
Felix Fontein 2020-03-22 22:51:01 +01:00
parent a01b831bd3
commit 94c21f03bb
3 changed files with 3 additions and 3 deletions

View file

@ -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):

View file

@ -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):

View file

@ -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)