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