summaryrefslogtreecommitdiff
path: root/tests/extmod/ussl_basic.py.exp
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-03-09 13:42:34 +1100
committerDamien George <damien.p.george@gmail.com>2017-03-09 13:42:34 +1100
commit38f063ea72632e395ea59b644552bb98c962393f (patch)
treeab9286937647ebfb3cb65b801ae3c2cd2fce8995 /tests/extmod/ussl_basic.py.exp
parenta0cbc108ba9dbdd4cc223486561f3e6a347e2d0a (diff)
tests/extmod: Add very basic feature test for ussl module.
This test just tests that the basic functions/methods can be called with the appropriate arguments. There is no real test of underlying functionality. Thanks to @hosaka for the initial implementation of this test.
Diffstat (limited to 'tests/extmod/ussl_basic.py.exp')
-rw-r--r--tests/extmod/ussl_basic.py.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/extmod/ussl_basic.py.exp b/tests/extmod/ussl_basic.py.exp
new file mode 100644
index 000000000..b4dd03860
--- /dev/null
+++ b/tests/extmod/ussl_basic.py.exp
@@ -0,0 +1,8 @@
+ssl_handshake_status: -256
+wrap_socket: OSError(5,)
+<_SSLSocket
+setblocking: NotImplementedError
+4
+b''
+read: OSError(-261,)
+write: OSError(-256,)