<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/net_inet/test_tls_sites.py, branch 3.0.0-alpha.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=3.0.0-alpha.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=3.0.0-alpha.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-10-26T01:29:24+00:00</updated>
<entry>
<title>tests/net_inet: Update tls test to work with CPython and incl new site.</title>
<updated>2017-10-26T01:29:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-10-26T01:29:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f36975b6792f6b702dc9184adcdb6e0d89ce23b4'/>
<id>urn:sha1:f36975b6792f6b702dc9184adcdb6e0d89ce23b4</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>tests/net_inet/test_tls_sites.py: Integration test for SSL connections.</title>
<updated>2017-06-20T22:58:36+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-06-20T22:58:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4caa27ae0ec92af59ddacf57dd7fd43fcdd64c69'/>
<id>urn:sha1:4caa27ae0ec92af59ddacf57dd7fd43fcdd64c69</id>
<content type='text'>
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.
</content>
</entry>
</feed>
