Fix unit test relative imports, and permissions for included collection requirements (#29)

* Fix Hetzner firewall unit test imports.

* Make sure tests can actually access collections.

* Fix more relative imports.

* Fix more relative imports.

* Fix more includes.

* Fix more tests.

* One more.

* Fix syntax error in sanity import tests (invalid escape sequence "\$" caused by non-raw docs block)

* Fix permissions of ansible-test parts for sanity tests.

* Revert "Fix permissions of ansible-test parts for sanity tests."

This reverts commit c2713f0a12.
This commit is contained in:
Felix Fontein 2020-03-24 09:27:28 +01:00 committed by GitHub
commit c012d0fba7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
202 changed files with 239 additions and 233 deletions

View file

@ -148,6 +148,8 @@ ansible-galaxy collection install google.cloud -p "${COLLECTION_DIR}"
ansible-galaxy collection install community.kubernetes -p "${COLLECTION_DIR}"
ansible-galaxy collection install f5networks.f5_modules -p "${COLLECTION_DIR}"
chmod -R a+rX "${COLLECTION_DIR}"
# END: HACK
ansible-test env --dump --show --timeout "${timeout}" --color -v