Matt Clay
f81238012b
Clean up pylint issues in test infra.
2019-07-15 14:45:30 -07:00
Matt Clay
3f2b766d10
Add future and metaclass boilerplate to test code.
...
Continue to ignore:
- test/integration/
- test/legacy/
- test/units/
2019-07-12 09:18:24 -07:00
Matt Clay
bc3a599678
Fix invalid type hints in ansible-test.
2019-07-11 14:25:57 -07:00
Matt Clay
86ad4c99ba
Reorganize util code in ansible-test.
...
Code in util.py that depends on CommonConfig is now in util_common.py.
2019-07-11 08:54:13 -07:00
Matt Clay
01833b6fb1
Add env
command to ansible-test and run in CI. ( #50176 )
...
* Add `env` command to ansible-test and run in CI.
* Avoid unnecessary docker pull.
2018-12-20 22:08:57 -08:00
Matt Clay
ac492476e5
Bug fixes and cleanup for ansible-test. ( #45991 )
...
* Remove unused imports.
* Clean up ConfigParser usage in ansible-test.
* Fix bare except statements in ansible-test.
* Miscellaneous cleanup from PyCharm inspections.
* Enable pylint no-self-use for ansible-test.
* Remove obsolete pylint ignores for Python 3.7.
* Fix shellcheck issuers under newer shellcheck.
* Use newer path for ansible-test.
* Fix issues in code-smell tests.
2018-09-21 11:38:22 -07:00
Matt Clay
99cac99cbc
Block network access for unit tests in docker.
2018-09-18 17:53:04 -07:00
Matt Clay
c1f9efabf4
Overhaul httptester support in ansible-test. ( #39892 )
...
- Works with the --remote option.
- Can be disabled with the --disable-httptester option.
- Change image with the --httptester option.
- Only load and run httptester for targets that require it.
2018-05-09 09:24:40 -07:00
Matt Clay
6a4f6a6490
Add additional support code in ansible-test.
2018-02-14 12:16:41 -08:00
Matt Clay
45e377566c
Refactor ansible-test config classes. ( #26505 )
...
* Move Config classes from executor.py to config.py.
* Move Environment and Test config to config.py.
* Move Coverage/CoverageReport Config to config.py.
* Clean up type hints.
2017-07-06 16:14:44 -07:00
Matt Clay
0573b8bcd2
Fix ansible-test cloud integration bugs.
2017-05-05 21:46:29 +08:00
Matt Clay
a07d42e16d
Add support for cloud tests to ansible-test. ( #24315 )
...
* Split out ansible-test docker functions.
* Add cloud support to ansible-test.
2017-05-05 16:23:00 +08:00