Commit Graph

1289 Commits (52efd7438c44c127e5687200bda2174e17086f68)

Author SHA1 Message Date
Matt Clay 5c206eaf0b Add additional plugins to connection tests.
- docker
- libvirt_lxc
- jail

These tests will not run as part of the build, but can be run manually.
8 years ago
Brian Coca a07495e4c8 allow tests to run with parameters
also fixed test_test_infra to allow tags
8 years ago
James Cammarata c2441c15c3 Revert "corrected failed_when test"
This reverts commit 140df20504.
8 years ago
James Cammarata 963178f392 Revert "complete correction of test, key exists but is false"
This reverts commit 7e6343213b.
8 years ago
Brian Coca 923548f6d5 removed test_infra from setup as it fails when using --tags 8 years ago
Brian Coca 7e6343213b complete correction of test, key exists but is false 8 years ago
Brian Coca 140df20504 corrected failed_when test 8 years ago
nitzmahone 6c835b2600 ensure assert and fail work before we test anything else 8 years ago
Toshio Kuratomi 2b8a0cdddc Fix ssh connection unittests for python3.4 8 years ago
James Cammarata 9d61a6cba8 Fixing PlayIterator bugs
* Unit tests exposed a problem where nested blocks did not correctly
  hit rescue/always portions of parent blocks
* Cleaned up logic in PlayIterator
* Unfortunately fixing the above exposed a potential problem in the
  block integration tests, where a failure in an "always" section may
  always lead to a failed state and the termination of execution
  beyond that point, so certain parts of the block integration test
  were disabled.
8 years ago
James Cammarata f0d3284ead Adding more unit tests for ssh connection plugin 8 years ago
James Cammarata 2f472fd4e9 Adding start of ssh connection unit tests 8 years ago
Matt Davis 22344c5320 Merge pull request #14812 from mattclay/test-connection
Add tests for connection plugins.
8 years ago
Matt Martz 8aee648bc9 Add as dependency of the parsing make target 8 years ago
Matt Martz 098333b2ec Fix redirects for get_url
* fetch_url shouldn't both accept follow_redirects and support follow_redircts via module.params
* Default follow_redirects for open_url should be 'urllib2'
* Add redirect test for get_url
8 years ago
James Cammarata 299d93f6e9 Updating unit tests for PlayIterator
This knowingly introduces a broken test, planning to fix that later.
8 years ago
James Cammarata 8cfdaa16f4 Fixing error in localedef usage for f23 docker image 8 years ago
James Cammarata 0e17a6f036 Another attempt at fixing random f23 locale failures in docker image 8 years ago
James Cammarata 2ee0c1b175 Fixing centos6 docker image for pycrytpo too 8 years ago
James Cammarata 762c99f77c Fixing centos6 docker image to upgrade jinja2 8 years ago
James Cammarata 56670bd150 More tweaks for fedora on docker 8 years ago
James Cammarata b97a98f69e Trying to fix up the fedora23 docker image 8 years ago
James Cammarata b72cd3a6d2 Adding fedora rawhide to the travis mix 8 years ago
James Cammarata c632873936 Adding centos 6 to the travis mix 8 years ago
James Cammarata e5844ee03d Revert "Testing adding -j2 to the run_tests.sh script to speed up docker tests"
This reverts commit db2a0ae255, as it does not
add any speed to the tests on Travis.
8 years ago
James Cammarata db2a0ae255 Testing adding -j2 to the run_tests.sh script to speed up docker tests 8 years ago
Matt Clay 49892b287b Use vars to eliminate redundant test commands. 8 years ago
Matt Clay ca62bc5db3 Add tests for connection plugins. 8 years ago
James Cammarata 981f451f0e Adding fedora 23 to the Docker tests on travis 8 years ago
James Cammarata 7f34705b0c Fixing up Dockerfiles some more to get tests passing fully 8 years ago
James Cammarata fa630872d9 Minor update to the Dockerfiles 8 years ago
James Cammarata 069e597aaa Fixing locale stuff in ubuntu 14.04 Dockerfile 8 years ago
James Cammarata f56af2ec3f Updating docker files for tests 8 years ago
James Cammarata e4acd44e23 Make sure test script fails on any error 8 years ago
Matt Martz d8876b5c03 Run /sbin/init in the ubuntu docker image, as we do with centos 8 years ago
James Cammarata 92dcad8e99 Adding docker container capabilities to Travis 8 years ago
James Cammarata 80b10bd669 Moving creating of testing work dir out of dep role and into Makefile 8 years ago
Toshio Kuratomi 7160b40ab1 Fix the Makefile to run under dash (POSIX /bin/test syntax) 8 years ago
James Cammarata b853e932d1 Adding unit tests for symbolic mode conversion stuff in basic.py 8 years ago
James Cammarata 18240d350c Adding a skip for the literal_eval test on py3 8 years ago
James Cammarata 0ea3a9d08d Removing tabs from test_basic.py 8 years ago
James Cammarata 1de9357c2f Attempt at cleaning up issues introduced by new basic.py unit tests 8 years ago
James Cammarata e011f52557 Expanding unit tests for module_utils/basic.py 8 years ago
Matt Davis 3d58fd1402 Merge pull request #13481 from jhawkesworth/a21_reg_merge_tests
windows; adding integration tests for win_regmerge (extras module)
8 years ago
James Cammarata c56e3aabfb Clean up jsonify unit test with format to remove json lib differences 8 years ago
James Cammarata 7c049c3200 Fixing up jsonify and adding unit tests 8 years ago
James Cammarata a9d25f455c More unit tests for ActionBase 8 years ago
James Cammarata e588437067 Adding some unicode params to the ActionBase module formatting test 8 years ago
Toshio Kuratomi 7cb29cdbec Workaround py2.6's StringIO 8 years ago
Toshio Kuratomi b70bf3b056 Use io.StringIO and io.BytesIO instead of StringIO.StringIO for compat with py3 8 years ago