nitzmahone
6c835b2600
ensure assert and fail work before we test anything else
9 years ago
Toshio Kuratomi
2b8a0cdddc
Fix ssh connection unittests for python3.4
9 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.
9 years ago
James Cammarata
f0d3284ead
Adding more unit tests for ssh connection plugin
9 years ago
James Cammarata
2f472fd4e9
Adding start of ssh connection unit tests
9 years ago
Matt Davis
22344c5320
Merge pull request #14812 from mattclay/test-connection
...
Add tests for connection plugins.
9 years ago
Matt Martz
8aee648bc9
Add as dependency of the parsing make target
9 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
9 years ago
James Cammarata
299d93f6e9
Updating unit tests for PlayIterator
...
This knowingly introduces a broken test, planning to fix that later.
9 years ago
James Cammarata
8cfdaa16f4
Fixing error in localedef usage for f23 docker image
9 years ago
James Cammarata
0e17a6f036
Another attempt at fixing random f23 locale failures in docker image
9 years ago
James Cammarata
2ee0c1b175
Fixing centos6 docker image for pycrytpo too
9 years ago
James Cammarata
762c99f77c
Fixing centos6 docker image to upgrade jinja2
9 years ago
James Cammarata
56670bd150
More tweaks for fedora on docker
9 years ago
James Cammarata
b97a98f69e
Trying to fix up the fedora23 docker image
9 years ago
James Cammarata
b72cd3a6d2
Adding fedora rawhide to the travis mix
9 years ago
James Cammarata
c632873936
Adding centos 6 to the travis mix
9 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.
9 years ago
James Cammarata
db2a0ae255
Testing adding -j2 to the run_tests.sh script to speed up docker tests
9 years ago
Matt Clay
49892b287b
Use vars to eliminate redundant test commands.
9 years ago
Matt Clay
ca62bc5db3
Add tests for connection plugins.
9 years ago
James Cammarata
981f451f0e
Adding fedora 23 to the Docker tests on travis
9 years ago
James Cammarata
7f34705b0c
Fixing up Dockerfiles some more to get tests passing fully
9 years ago
James Cammarata
fa630872d9
Minor update to the Dockerfiles
9 years ago
James Cammarata
069e597aaa
Fixing locale stuff in ubuntu 14.04 Dockerfile
9 years ago
James Cammarata
f56af2ec3f
Updating docker files for tests
9 years ago
James Cammarata
e4acd44e23
Make sure test script fails on any error
9 years ago
Matt Martz
d8876b5c03
Run /sbin/init in the ubuntu docker image, as we do with centos
9 years ago
James Cammarata
92dcad8e99
Adding docker container capabilities to Travis
9 years ago
James Cammarata
80b10bd669
Moving creating of testing work dir out of dep role and into Makefile
9 years ago
Toshio Kuratomi
7160b40ab1
Fix the Makefile to run under dash (POSIX /bin/test syntax)
9 years ago
James Cammarata
b853e932d1
Adding unit tests for symbolic mode conversion stuff in basic.py
9 years ago
James Cammarata
18240d350c
Adding a skip for the literal_eval test on py3
9 years ago
James Cammarata
0ea3a9d08d
Removing tabs from test_basic.py
9 years ago
James Cammarata
1de9357c2f
Attempt at cleaning up issues introduced by new basic.py unit tests
9 years ago
James Cammarata
e011f52557
Expanding unit tests for module_utils/basic.py
9 years ago
Matt Davis
3d58fd1402
Merge pull request #13481 from jhawkesworth/a21_reg_merge_tests
...
windows; adding integration tests for win_regmerge (extras module)
9 years ago
James Cammarata
c56e3aabfb
Clean up jsonify unit test with format to remove json lib differences
9 years ago
James Cammarata
7c049c3200
Fixing up jsonify and adding unit tests
9 years ago
James Cammarata
a9d25f455c
More unit tests for ActionBase
9 years ago
James Cammarata
e588437067
Adding some unicode params to the ActionBase module formatting test
9 years ago
Toshio Kuratomi
7cb29cdbec
Workaround py2.6's StringIO
9 years ago
Toshio Kuratomi
b70bf3b056
Use io.StringIO and io.BytesIO instead of StringIO.StringIO for compat with py3
9 years ago
Toshio Kuratomi
c29f51804b
Fix mixing of bytes and str in module replacer (caused traceback on python3)
9 years ago
James Cammarata
01d835700b
Cleaning up some py version problems with ActionBase unit tests
9 years ago
James Cammarata
3518a05db6
Starting to expand unit tests for ActionBase plugin class
9 years ago
James Cammarata
9de24a3735
Assert things against the recursive copy result to make sure it did something
9 years ago
James Cammarata
e02b98274b
issue callbacks per item and retry fails
...
- now workers passes queue to task_executor so it can send back events per item and on retry attempt
- updated result class to pass along events to strategy
- base strategy updated to forward new events to callback
- callbacks now remove 'items' on final result but process them directly when invoked per item
- new callback method to deal with retry attempt messages (also now obeys nolog)
- updated tests to match new signature of task_executor
fixes #14558
fixes #14072
9 years ago
Matt Martz
cacb74aeeb
Merge pull request #14340 from sivel/uri-no-httplib2
...
Add RedirectHandler class for controlling redirects in urllib2
9 years ago
Matt Martz
3e9408e317
Add some additional integration tests that mix SSL verification and redirects
9 years ago