This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
10f34b97d1
circuitpython
/
tests
/
net_inet
/
test_tls_sites.py.exp
6 lines
85 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests/net_inet/test_tls_sites.py: Integration test for SSL connections. This attempts to bootstrap network tests for MicroPython. This commits sets test/net_inet/ as place for tests which require access to wide Internet. They aren't intended to be run as part of the main testsuite, instead to be run manually on demand. test_tls_sites.py in particular check that it's possible to establish SSL/TLS connection to select sites on the Internet: few references ones, plus those for which problems were reported, and resolved.
2017-06-20 18:58:36 -04:00
google.com ok
www.google.com ok
extmod/modussl: Fix ussl read/recv/send/write errors when non-blocking. Also fix related problems with socket on esp32, improve docs for wrap_socket, and add more tests.
2020-04-02 13:01:16 -04:00
micropython.org ok
pypi.org ok
tests/net_inet: Update tls test to work with CPython and incl new site. CPython only supports the server_hostname keyword arg via the SSLContext object, so use that instead of the top-level ssl.wrap_socket. This allows the test to run on CPython the same as uPy. Also add the "Host:" header to correctly make a GET request (for URLs that are hosted on other servers). This is not strictly needed to test the SSL connection but helps to debug things when printing the response.
2017-10-25 21:29:24 -04:00
api.pushbullet.com ok
Reference in New Issue
Copy Permalink