mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
ef996d15b9
And only enable this method when the relevant feature is available in mbedtls. Otherwise, if mbedtls doesn't support getting the peer certificate, this method always returns None and it's confusing why it does that. It's better to remove the method altogether, so the error trying to use it is more obvious. Signed-off-by: Damien George <damien@micropython.org> |
||
---|---|---|
.. | ||
accept_nonblock.py | ||
accept_nonblock.py.exp | ||
accept_timeout.py | ||
accept_timeout.py.exp | ||
asyncio_loopback.py | ||
asyncio_loopback.py.exp | ||
asyncio_start_server.py | ||
asyncio_start_server.py.exp | ||
connect_nonblock_xfer.py | ||
connect_nonblock.py | ||
connect_nonblock.py.exp | ||
connect_poll.py | ||
connect_poll.py.exp | ||
README | ||
ssl_getpeercert.py | ||
ssl_getpeercert.py.exp |
This directory contains network tests which require just "peer to peer" network connection between test host and device under test, instead of full Internet connection. Note that setup for these tests and tests themselves are WIP, and may not yet fully correspond to the functional specification above. So far, 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_hosted/*.py