pjkersha 6e5e18f947 * Added new test to test_urllib2 test04_open_peer_cert_verification_fails - checks for failure through missing CA verification chain. il y a 13 ans
..
pki 32902723fd == Release 0.2.0 == il y a 13 ans
scripts 8ad766f537 il y a 13 ans
README 03488d241c * Added test case for SSL verification of peer failing il y a 13 ans
__init__.py 03488d241c * Added test case for SSL verification of peer failing il y a 13 ans
test_https.py 32902723fd == Release 0.2.0 == il y a 13 ans
test_urllib2.py 6e5e18f947 * Added new test to test_urllib2 test04_open_peer_cert_verification_fails - checks for failure through missing CA verification chain. il y a 13 ans
test_utils.py b13ce4b451 * Another fix - for test_utils proxy test il y a 13 ans

README

NDG HTTPS Client Unit tests directory
=====================================
The unit tests expect to connect to a simple HTTPS server listening on port
4443. An OpenSSL script is provided for this purpose in scripts/. To run,

$ ./scripts/openssl_https_server.sh

Unit tests
----------
Run for example,

$ python ./test_urllib2.py

Troubleshooting
---------------
* Run the openssl script from *this* directory.
* Also ensure it is has execute bits set. e.g.

$ chmod 755 ./scripts/openssl_https_server.sh

* You may need to set the no_proxy environment variable if you have a HTTPS
proxy in place:

$ export no_proxy=localhost