1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

One more.

This commit is contained in:
Felix Fontein 2020-03-22 22:58:29 +01:00
parent 94c21f03bb
commit b7f3cf6444

View file

@ -143,7 +143,7 @@ class OneViewBaseTestCase(object):
def __set_module_examples(self):
# Load scenarios from module examples (Also checks if it is a valid yaml)
ansible = __import__('ansible')
ansible_collections = __import__('ansible_collections')
testing_module = self.testing_class.__module__.split('.')[-1]
self.testing_module = getattr(ansible_collections.community.general.plugins.modules.remote_management.oneview, testing_module)