Commit Graph

7 Commits (f46eb8ebcda98e2f61c5fd0b7e8051d96b97cdbe)

Author SHA1 Message Date
Matt Clay d910c971b4
Minor ansible-test code cleanup. (#59052)
* Minor ansible-test code cleanup.
* Fix type annotations.
7 years ago
Matt Clay 3f2b766d10 Add future and metaclass boilerplate to test code.
Continue to ignore:

- test/integration/
- test/legacy/
- test/units/
7 years ago
Matt Clay bc3a599678 Fix invalid type hints in ansible-test. 7 years ago
Matt Clay 89a022b6a0 Update handling of the non_local test alias.
Previously the alias disabled all code coverage collection.
Now it only disables Ansible module code coverage collection.
7 years ago
Matt Clay e12d3ca731 Fix ansible-test injector warning on Python 3.7. 7 years ago
Matt Clay a8e328f474
Overhaul ansible-test code coverage and injector. (#53510) 7 years ago
Matt Clay 45b5685037 Add python.py coverage injector for ansible-test.
This can be used to run Python scripts from the repository with the
correct interpreter and allow collection of code coverage.

Useful for testing contrib inventory scripts.
7 years ago