README 643 B

1234567891011121314151617181920212223242526
  1. NDG HTTPS Client Unit tests directory
  2. =====================================
  3. The unit tests expect to connect to a simple HTTPS server listening on port
  4. 4443. An OpenSSL script is provided for this purpose in scripts/. To run,
  5. $ ./scripts/openssl_https_server.sh
  6. Unit tests
  7. ----------
  8. Run for example,
  9. $ python ./test_urllib2.py
  10. Troubleshooting
  11. ---------------
  12. * Run the openssl script from *this* directory.
  13. * Also ensure it is has execute bits set. e.g.
  14. $ chmod 755 ./scripts/openssl_https_server.sh
  15. * You may need to set the no_proxy environment variable if you have a HTTPS
  16. proxy in place:
  17. $ export no_proxy=localhost