Previously, any test needing an SSL certificate file would automatically skip if the file could not be found. But that makes it too easy to accidentally skip tests. Instead, change it so that the test fails if the certificate file doesn't exist. That matches, for example, the fact that the test fails if networking (LAN, WiFi) is not active. Signed-off-by: Damien George <damien@micropython.org> |
||
|---|---|---|
| .. | ||
| asyncio_cancel_stream.py | ||
| asyncio_cancel_stream.py.exp | ||
| asyncio_open_connection.py | ||
| asyncio_open_connection.py.exp | ||
| asyncio_tcp_read_headers.py | ||
| asyncio_tcp_read_headers.py.exp | ||
| asyncio_tls_open_connection_readline.py | ||
| getaddrinfo.py | ||
| isrg.der | ||
| mpycert.der | ||
| README | ||
| ssl_cert.py | ||
| ssl_cert.py.exp | ||
| ssl_errors.py | ||
| test_sslcontext_client.py | ||
| test_sslcontext_client.py.exp | ||
| test_tls_nonblock.py | ||
| test_tls_sites.py | ||
| test_tls_sites_simple.py | ||
| tls_num_errors.py | ||
| tls_num_errors.py.exp | ||
| tls_text_errors.py | ||
This directory contains network tests which require Internet connection.
Note that these tests are not run as part of the main testsuite and need
to be run separately (from the main test/ directory):
./run-tests.py net_inet/*.py