1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/sanity/code-smell
Toshio Kuratomi 5c38f3cea2 Combine jimi-c and bcoca's ideas and work on hooking module-utils into PluginLoader.
This version just gets the relevant paths from PluginLoader and then
uses the existing imp.find_plugin() calls in the AnsiballZ code to load
the proper module_utils.

Modify PluginLoader to optionally omit subdirectories (module_utils
needs to operate on top level dirs, not on subdirs because it has
a hierarchical namespace whereas all other plugins use a flat
namespace).

Rename snippet* variables to module_utils*

Add a small number of unittests for recursive_finder

Add a larger number of integration tests to demonstrate that
module_utils is working.

Whitelist module-style shebang in test target library dirs

Prefix module_data variable with b_ to be clear that it holds bytes data
2017-01-31 09:41:24 -08:00
..
boilerplate.sh Fix tests after repo merge. 2016-12-08 11:35:19 -05:00
configure-remoting-ps1.sh Add test for ConfigureRemotingForAnsible.ps1. 2017-01-06 10:40:13 -08:00
empty-init.sh Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
inappropriately-private.sh Cleanup and fixes for code smell scripts. 2016-11-03 23:56:30 -07:00
integration-aliases.py Remove legacy test alias migration script. (#19629) 2016-12-21 16:46:28 -08:00
line-endings.sh Clean up code-smell sanity scripts. (#18407) 2016-11-07 16:46:33 -08:00
no-basestring.sh Fix tests after repo merge. 2016-12-08 11:35:19 -05:00
no-dict-iteritems.sh Code smell test for iteritems and itervalues (#19292) 2016-12-14 12:16:16 -08:00
no-dict-itervalues.sh Code smell test for iteritems and itervalues (#19292) 2016-12-14 12:16:16 -08:00
no-iterkeys.sh Add a code-smell test for iterkeys (#18589) 2016-12-13 16:39:03 -08:00
pylint-ansible-test.sh Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
replace-urlopen.sh Clean up code-smell sanity scripts. (#18407) 2016-11-07 16:46:33 -08:00
required-and-default-attributes.sh Test reorganization and cleanup. (#18270) 2016-10-31 12:53:11 -07:00
shebang.sh Combine jimi-c and bcoca's ideas and work on hooking module-utils into PluginLoader. 2017-01-31 09:41:24 -08:00
skip.txt Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
test-constraints.sh Correct test constraints and add sanity check. 2017-01-08 16:44:31 -08:00
use-compat-six.sh Fix tests after repo merge. 2016-12-08 11:35:19 -05:00