mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Fix tests after repo merge.
This commit is contained in:
parent
14833f1c7a
commit
bd7ce0696e
10 changed files with 28 additions and 36 deletions
|
@ -3,17 +3,15 @@
|
|||
metaclass1=$(find ./bin -type f -exec grep -HL '__metaclass__ = type' '{}' '+')
|
||||
future1=$(find ./bin -type f -exec grep -HL 'from __future__ import (absolute_import, division, print_function)' '{}' '+')
|
||||
|
||||
metaclass2=$(find ./lib/ansible -path ./lib/ansible/modules/core -prune \
|
||||
metaclass2=$(find ./lib/ansible -path ./lib/ansible/modules -prune \
|
||||
-o -path ./lib/ansible/modules/__init__.py \
|
||||
-o -path ./lib/ansible/modules/extras -prune \
|
||||
-o -path ./lib/ansible/module_utils -prune \
|
||||
-o -path ./lib/ansible/compat/six/_six.py -prune \
|
||||
-o -path ./lib/ansible/utils/module_docs_fragments -prune \
|
||||
-o -name '*.py' -exec grep -HL '__metaclass__ = type' '{}' '+')
|
||||
|
||||
future2=$(find ./lib/ansible -path ./lib/ansible/modules/core -prune \
|
||||
future2=$(find ./lib/ansible -path ./lib/ansible/modules -prune \
|
||||
-o -path ./lib/ansible/modules/__init__.py \
|
||||
-o -path ./lib/ansible/modules/extras -prune \
|
||||
-o -path ./lib/ansible/module_utils -prune \
|
||||
-o -path ./lib/ansible/compat/six/_six.py -prune \
|
||||
-o -path ./lib/ansible/utils/module_docs_fragments -prune \
|
||||
|
|
|
@ -8,8 +8,7 @@ BASESTRING_USERS=$(grep -r basestring . \
|
|||
-e test/results/ \
|
||||
-e lib/ansible/compat/six/_six.py \
|
||||
-e lib/ansible/module_utils/six.py \
|
||||
-e lib/ansible/modules/core/ \
|
||||
-e lib/ansible/modules/extras/ \
|
||||
-e lib/ansible/modules/ \
|
||||
-e '^[^:]*:#'
|
||||
)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ BASEDIR=${1-"lib"}
|
|||
# digital_ocean is checking for six because dopy doesn't specify the
|
||||
# requirement on six so it needs to try importing six to give the correct error
|
||||
# message
|
||||
WHITELIST='(lib/ansible/modules/core/cloud/digital_ocean/digital_ocean.py)'
|
||||
WHITELIST='(lib/ansible/modules/cloud/digital_ocean/digital_ocean.py)'
|
||||
|
||||
SIX_USERS=$(find "$BASEDIR" -name '*.py' -exec grep -wH six '{}' '+' \
|
||||
| grep import \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue