Commit Graph

20 Commits (b37b51dceada262a6ee7cbb0b9d947e2a51ed12d)

Author SHA1 Message Date
Matt Martz accf40d8a8 Use httptester docker image for http tests (#15811)
* Use httptester docker image for http tests

* When not running with an httptester linked container, use public test sites
10 years ago
jctanner 4d36b3f7b6 Extend the get_url integration tests to include file schemas. (#15532)
Addresses https://github.com/ansible/ansible-modules-core/issues/3511
10 years ago
Matt Martz 6e9c09d7f7 Utilize urllib3.contrib.pyopenssl functionality for SNI capability in python versions lacking SNI support
Also add SNI tests, move test_uri to destructive since we are messing with packages for SNI testing
10 years ago
Toshio Kuratomi 6824f3a7cc Change url so that we don't test https in the tests for file perms 10 years ago
Toshio Kuratomi cbd93b6ad3 Add integration test for #11821 10 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
10 years ago
Toshio Kuratomi 6963955cb4 And change the task a little more since different shlex versions are handling the quotes differently 10 years ago
Toshio Kuratomi 21ca0ce1ce Fix test playbook syntax 10 years ago
Toshio Kuratomi 3792a586b5 Since the velox test server seems to be dropping using iptables to drop requests from aws, test via a different website instead 10 years ago
Toshio Kuratomi 8d7892cc7b Done troubleshooting
Revert "Troubleshooting has reduced us to this"

This reverts commit 9abef1a1d7.
10 years ago
Toshio Kuratomi 9abef1a1d7 Troubleshooting has reduced us to this 10 years ago
Toshio Kuratomi 1cc83dd0d9 Make tests that use kennethreitz retry. 10 years ago
Toshio Kuratomi c5eda277ac Fix get_url tests in light of distros backporting SNI support 10 years ago
Toshio Kuratomi ce1febe28b debug line needs var not msg 10 years ago
Toshio Kuratomi 375eb501b3 Update url to site that has an invalid certificate 10 years ago
Toshio Kuratomi 327b1676a8 Add support for SNI and TLS-1.1 and TLS-1.2 to the fetch_url() helper
Fixes #1716
Fixes #1695
11 years ago
Toshio Kuratomi 73b7d96501 Test on fields that exist 11 years ago
Toshio Kuratomi 0f4a3409d8 Add test that validate_certs=no works 11 years ago
Toshio Kuratomi 1ccf2a4685 Make fetch_url check the server's certificate on https connections 11 years ago
James Cammarata cd99821f8a Fix py26 difference in ssl socket connect call from 99ba9d6 11 years ago