<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/tests/net_hosted, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>tests: Use .errno instead of .args[0] for OSError exceptions.</title>
<updated>2021-04-23T12:03:46+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-04-22T09:32:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=3123f6918ba18b0a3f7a89500b450f4cb15e1aee'/>
<id>3123f6918ba18b0a3f7a89500b450f4cb15e1aee</id>
<content type='text'>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Rename run-tests to run-tests.py for consistency.</title>
<updated>2021-03-12T08:56:09+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-03-11T05:09:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=6129b8e401c36cc68e0f7ba8180da27a40d17621'/>
<id>6129b8e401c36cc68e0f7ba8180da27a40d17621</id>
<content type='text'>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modussl: Fix ussl read/recv/send/write errors when non-blocking.</title>
<updated>2021-02-17T00:50:54+00:00</updated>
<author>
<name>Thorsten von Eicken</name>
</author>
<published>2020-04-02T17:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=2c1299b0071c2c528cc01e3cde9eb22743820176'/>
<id>2c1299b0071c2c528cc01e3cde9eb22743820176</id>
<content type='text'>
Also fix related problems with socket on esp32, improve docs for
wrap_socket, and add more tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix related problems with socket on esp32, improve docs for
wrap_socket, and add more tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>esp32: Set MICROPY_USE_INTERNAL_ERRNO=0 to use toolchain's errno.h.</title>
<updated>2021-02-15T12:47:02+00:00</updated>
<author>
<name>Thorsten von Eicken</name>
</author>
<published>2020-11-12T01:46:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=902da05a180d40e62373656f8be94a01ca39eb94'/>
<id>902da05a180d40e62373656f8be94a01ca39eb94</id>
<content type='text'>
The underlying OS (the ESP-IDF) uses it's own internal errno codes and so
it's simpler and cleaner to use those rather than trying to convert
everything to the values defined in py/mperrno.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The underlying OS (the ESP-IDF) uses it's own internal errno codes and so
it's simpler and cleaner to use those rather than trying to convert
everything to the values defined in py/mperrno.h.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Format all Python code with black, except tests in basics subdir.</title>
<updated>2020-03-30T02:21:58+00:00</updated>
<author>
<name>David Lechner</name>
</author>
<published>2020-03-23T02:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=3dc324d3f1312e40d3a8ed87e7244966bb756f26'/>
<id>3dc324d3f1312e40d3a8ed87e7244966bb756f26</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modlwip: Unconditionally return POLLHUP when polling new socket.</title>
<updated>2019-10-31T01:54:37+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-10-16T05:26:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=71401d5065e20da59a1cc740d760002794b008e0'/>
<id>71401d5065e20da59a1cc740d760002794b008e0</id>
<content type='text'>
POSIX poll should always return POLLERR and POLLHUP in revents, regardless
of whether they were requested in the input events flags.

See issues #4290 and #5172.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
POSIX poll should always return POLLERR and POLLHUP in revents, regardless
of whether they were requested in the input events flags.

See issues #4290 and #5172.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/net_hosted: Add test for socket connect() and poll() behaviour.</title>
<updated>2017-11-22T23:45:12+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2017-11-22T23:45:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=df078e82136de80a6ff2d30db97a7411c45d4085'/>
<id>df078e82136de80a6ff2d30db97a7411c45d4085</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modussl_mbedtls.c: Add ussl.getpeercert() method.</title>
<updated>2017-08-16T05:01:00+00:00</updated>
<author>
<name>Eric Poulsen</name>
</author>
<published>2017-08-15T14:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d5191edf7ff81f5f07243cb2a318508c1e9cc5df'/>
<id>d5191edf7ff81f5f07243cb2a318508c1e9cc5df</id>
<content type='text'>
Behaviour is as per CPython but only the binary form is implemented here.
A test is included.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Behaviour is as per CPython but only the binary form is implemented here.
A test is included.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/connect_nonblock: Refactor towards real net_hosted test.</title>
<updated>2017-06-23T18:27:05+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
</author>
<published>2017-06-23T18:27:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=bc7659eb59f8e7533a253475d4ca0ef26e1b2fc7'/>
<id>bc7659eb59f8e7533a253475d4ca0ef26e1b2fc7</id>
<content type='text'>
In the future, a special runner for such tests will import each test and
call test() function with an address of test server to use.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the future, a special runner for such tests will import each test and
call test() function with an address of test server to use.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/net_inet: Move tests which don't require full Internet to net_hosted.</title>
<updated>2017-06-23T18:12:32+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
</author>
<published>2017-06-23T18:12:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=3f9d59c87a6797857a074737034bcd58d0726b2e'/>
<id>3f9d59c87a6797857a074737034bcd58d0726b2e</id>
<content type='text'>
The idea is that these tests can be run with just a test server running
on a test host, with device under test connecting to it, instead of
requiring Internet connection for testing.

Such setup is however WIP, and some tests in net_hosted/ are so far
written to connect to Internet, as there're not test server written
yet. This is expected to evolve over time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The idea is that these tests can be run with just a test server running
on a test host, with device under test connecting to it, instead of
requiring Internet connection for testing.

Such setup is however WIP, and some tests in net_hosted/ are so far
written to connect to Internet, as there're not test server written
yet. This is expected to evolve over time.
</pre>
</div>
</content>
</entry>
</feed>
