• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..23-Jul-2018-

pki/H23-Jul-2018-6966

scripts/H23-Jul-2018-31

READMEH A D01-Sep-2017643 2717

__init__.pyH A D24-Apr-20181.1 KiB3226

test_https.pyH A D24-Apr-20184.4 KiB12286

test_urllib2.pyH A D24-Apr-20183.3 KiB9060

test_utils.pyH A D24-Apr-20182.1 KiB6248

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