Commit 908c4adf authored by Denis Bilenko's avatar Denis Bilenko

test__wsgi.py: remove TestHttpsError, it is covered by test__server.TestSSLSocketNotAllowed

parent 330889d9
......@@ -9,22 +9,5 @@ test__pywsgi.server_supports_pipeline = gevent.core.get_version()[1] == '2'
TestCase.get_wsgi_module = lambda *args: wsgi
class TestHttpsError(HttpsTestCase):
def setUp(self):
from gevent.socket import ssl, socket
listener = socket()
listener.bind(('0.0.0.0', 0))
listener.listen(5)
listener = ssl(listener, keyfile=self.keyfile, certfile=self.certfile)
self.assertRaises(TypeError, self.get_wsgi_module().WSGIServer, listener, self.application)
def tearDown(self):
pass
def test(self):
pass
if __name__ == '__main__':
greentest.main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment