Commit 21e99114 authored by Denis Bilenko's avatar Denis Bilenko

add test that gevent.wsgi raises a TypeError when passed SSLObject

parent 1611e4f3
......@@ -7,5 +7,18 @@ wsgi_test.server_implements_chunked = False
TestCase.get_wsgi_module = lambda *args: wsgi
class TestHttpsError(HttpsTestCase):
def setUp(self):
listener = self.get_listener()
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