circuitpython/tests/net_hosted
David Lechner 3dc324d3f1 tests: Format all Python code with black, except tests in basics subdir.
This adds the Python files in the tests/ directory to be formatted with
./tools/codeformat.py.  The basics/ subdirectory is excluded for now so we
aren't changing too much at once.

In a few places `# fmt: off`/`# fmt: on` was used where the code had
special formatting for readability or where the test was actually testing
the specific formatting.
2020-03-30 13:21:58 +11:00
..
README tests/net_inet: Move tests which don't require full Internet to net_hosted. 2017-06-23 21:12:32 +03:00
accept_nonblock.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
accept_nonblock.py.exp tests/net_inet: Move tests which don't require full Internet to net_hosted. 2017-06-23 21:12:32 +03:00
accept_timeout.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
accept_timeout.py.exp tests/net_inet: Move tests which don't require full Internet to net_hosted. 2017-06-23 21:12:32 +03:00
connect_nonblock.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
connect_nonblock.py.exp tests/net_inet: Move tests which don't require full Internet to net_hosted. 2017-06-23 21:12:32 +03:00
connect_poll.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
connect_poll.py.exp extmod/modlwip: Unconditionally return POLLHUP when polling new socket. 2019-10-31 12:54:37 +11:00
ssl_getpeercert.py tests: Format all Python code with black, except tests in basics subdir. 2020-03-30 13:21:58 +11:00
ssl_getpeercert.py.exp extmod/modussl_mbedtls.c: Add ussl.getpeercert() method. 2017-08-16 15:01:00 +10:00

README

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 seperately (from the main test/ directory):

    ./run-tests net_hosted/*.py