@pytest.fixture
def ssl_server(request, qapp):
 server = WebserverProcess('webserver_sub_ssl')
 request.node._httpbin_log = server.captured_log
 server.start()
 (yield server)
 server.after_test()
 server.cleanup()

@ pytest . fixture def ssl_server ( request , qapp ) : server = WebserverProcess ( 'webserver_sub_ssl' ) request . node . _httpbin_log = server . captured_log server . start ( ) ( yield server ) server . after_test ( ) server . cleanup ( )
fixture for a webserver with a self-signed ssl certificate .