circuitpython/tests/net_inet
Damien George 2bba507148 tests: Require SSL certificate file to be available for test to run.
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>
2025-08-15 01:03:00 +10:00
..
asyncio_cancel_stream.py tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_cancel_stream.py.exp tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_open_connection.py tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_open_connection.py.exp tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tcp_read_headers.py tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tcp_read_headers.py.exp tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tls_open_connection_readline.py tests: Require SSL certificate file to be available for test to run. 2025-08-15 01:03:00 +10:00
getaddrinfo.py tests: Replace umodule with module everywhere. 2023-06-08 17:54:24 +10:00
isrg.der extmod/asyncio: Add ssl support with SSLContext. 2023-12-14 12:20:19 +11:00
mpycert.der tests/net_inet: Update micropython.org certificate for SSL tests. 2025-07-23 12:40:45 +10:00
README all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
ssl_cert.py tests/net_inet: Update micropython.org certificate for SSL tests. 2025-07-23 12:40:45 +10:00
ssl_cert.py.exp extmod/modussl_mbedtls: Implement cert_reqs and cadata arguments. 2022-07-20 16:46:04 +10:00
ssl_errors.py tests: Update SSL network tests to use SSLContext, and work on CPython. 2023-12-12 21:22:10 +11:00
test_sslcontext_client.py tests: Require SSL certificate file to be available for test to run. 2025-08-15 01:03:00 +10:00
test_sslcontext_client.py.exp extmod/modssl_mbedtls: Add SSLContext certificate methods. 2023-12-12 16:25:07 +11:00
test_tls_nonblock.py tests: Update SSL network tests to use SSLContext, and work on CPython. 2023-12-12 21:22:10 +11:00
test_tls_sites.py tests/net_inet: Add simpler tls sites test, and skip existing on axtls. 2024-03-29 10:46:09 +11:00
test_tls_sites_simple.py tests/net_inet: Add simpler tls sites test, and skip existing on axtls. 2024-03-29 10:46:09 +11:00
tls_num_errors.py tests: Replace umodule with module everywhere. 2023-06-08 17:54:24 +10:00
tls_num_errors.py.exp extmod/modussl: Improve exception error messages. 2020-07-20 23:41:45 +10:00
tls_text_errors.py tests/net_inet/tls_text_errors.py: Tweak test for newer CPython version. 2024-05-27 13:56:55 +10:00

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