Sam Doran
ea209e1c2f
Wait for Ansible Tower instance to be ready
2019-08-01 11:32:45 -07:00
Matt Clay
6645054329
Code cleanup for test infrastructure. ( #59046 )
...
* Remove useless object inheritance in test code.
* Remove unnecessary pass statements from test code.
* Comment on why certain pylint rules are ignored.
* Add more pylint test contexts.
* Fix import order.
* Remove unused variables.
* Remove unnecessary pass statement.
* Fix bad continuations.
* Remove unnecessary elif.
* Allow legitimate broad except statements.
* Allow legitimate protected access.
* Clean up names to make pylint pass.
2019-07-12 13:17:20 -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
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
Hideki Saito
377fba3d76
Fix handling of inventory and credential options for tower_job_launch ( #54967 )
...
- Fixed issue #25017,#37567
- Add example for prompt on launch
- Add integration test for prompt on launch
Signed-off-by: Hideki Saito <saito@fgrep.org>
2019-04-09 14:08:11 +01:00
Matt Clay
eeaff731de
Overhaul ansible-test cloud test plugins. ( #53044 )
2019-02-28 18:25:49 -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
Ryan Petrello
462449cc8c
run Tower CI using the latest ansible-tower-cli package
2018-04-26 08:01:03 -07:00
Matt Clay
981e89117a
Improve Tower integration test support:
...
- Add TOWER_VERSION environment variable.
- Add error check for missing configuration.
2018-03-15 12:25:58 -07:00
Matt Clay
a8487feb70
Fix ansible-test python and pip executable search.
2018-03-14 23:34:14 -07:00
Matt Clay
5688d2243c
Update support for Tower testing.
...
This is required for compatibility with the latest
version of ansible-core-ci, which now handles more
of the Tower instance setup.
2018-03-09 14:42:49 -08:00
Matt Clay
b4bf502268
Initial Tower module integration test support.
2018-03-07 14:21:55 -08:00