Beispiel #1
0
 def test_ssl_options(self):
     app = KernelGatewayApp()
     ssl_options = app._build_ssl_options()
     self.assertIsNone(ssl_options)
     app = KernelGatewayApp()
     os.environ['KG_CERTFILE'] = '/test/fake.crt'
     ssl_options = app._build_ssl_options()
     self.assertEqual(ssl_options['ssl_version'], 5)