Unflatmap community.general (#5461)

* Move files.

* Update imports and references.

* Move wrongly placed files.

* Reverse redirects, deprecate long → short name redirects.

* Simplify contribution guidelines for new modules.

* Rewrite BOTMETA.

* Add changelog fragment.

* Fix ignore.txt files.
This commit is contained in:
Felix Fontein 2022-11-02 21:42:29 +01:00 committed by GitHub
commit b531ecdc9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1033 changed files with 4802 additions and 1989 deletions

View file

@ -33,7 +33,7 @@ class OneViewBaseTest(object):
resource_module_path_name = 'oneview_' + str.join('_', resource_module_path_name).lower()
ansible_collections = __import__('ansible_collections')
oneview_module = ansible_collections.community.general.plugins.modules.remote_management.oneview
oneview_module = ansible_collections.community.general.plugins.modules
resource_module = getattr(oneview_module, resource_module_path_name)
self.testing_class = getattr(resource_module, resource_name)
testing_module = self.testing_class.__module__.split('.')[-1]
@ -138,7 +138,7 @@ class OneViewBaseTestCase(object):
# Load scenarios from module examples (Also checks if it is a valid yaml)
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)
self.testing_module = getattr(ansible_collections.community.general.plugins.modules, testing_module)
try:
# Load scenarios from module examples (Also checks if it is a valid yaml)

Some files were not shown because too many files have changed in this diff Show more