summaryrefslogtreecommitdiffstatshomepage
path: root/tests/net_hosted/asyncio_loopback.py.exp
diff options
context:
space:
mode:
authorPeter Züger <zueger.peter@icloud.com>2023-11-03 11:19:53 +0100
committerDamien George <damien@micropython.org>2023-11-17 13:37:43 +1100
commit36e162f11602a23682dd482efbc69e0483924800 (patch)
treec9bfed6daf636aeae1484d9ea6f3ac94a6676b97 /tests/net_hosted/asyncio_loopback.py.exp
parenta23dbdca7944e03a990f04f5aede0c1fb93d6919 (diff)
downloadmicropython-36e162f11602a23682dd482efbc69e0483924800.tar.gz
micropython-36e162f11602a23682dd482efbc69e0483924800.zip
tests/net_hosted/asyncio_loopback.py: Add loopback test.
Signed-off-by: Peter Züger <zueger.peter@icloud.com>
Diffstat (limited to 'tests/net_hosted/asyncio_loopback.py.exp')
-rw-r--r--tests/net_hosted/asyncio_loopback.py.exp14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/net_hosted/asyncio_loopback.py.exp b/tests/net_hosted/asyncio_loopback.py.exp
new file mode 100644
index 0000000000..7110b35e12
--- /dev/null
+++ b/tests/net_hosted/asyncio_loopback.py.exp
@@ -0,0 +1,14 @@
+create server on 0.0.0.0:8080
+server started
+client open_connection to 127.0.0.1:8080
+client writing
+handler reading
+client reading
+handler got 100 bytes
+handler writing
+handler closing
+handler closed
+client got 100 bytes
+client closing
+client closed
+server closed