don't fail tests when www.python.org can't be validated by the system

This commit is contained in:
Benjamin Peterson 2014-11-25 15:16:55 -06:00
parent 5ef586f25a
commit 2615e9e293
2 changed files with 13 additions and 0 deletions

View file

@ -794,6 +794,7 @@ class HTTPSTest(TestCase):
resp = h.getresponse()
self.assertIn('nginx', resp.getheader('server'))
@support.system_must_validate_cert
def test_networked_trusted_by_default_cert(self):
# Default settings: requires a valid cert from a trusted CA
support.requires('network')