
Public Member Functions | |
| def | __init__ |
| def | create |
| def | run |
| def | shutdown |
| def | wait |
| def | wrapper |
Public Attributes | |
| application_url | |
| runner | |
| test_app | |
Static Public Attributes | |
| was_shutdown = False | |
StopableWSGIServer is a TcpWSGIServer which run in a separated thread. This allow to use tools like casperjs or selenium. Server instance have an ``application_url`` attribute formated with the server host and port.
| def webtest.http.StopableWSGIServer.__init__ | ( | self, | |
| application, | |||
| args, | |||
| kwargs | |||
| ) |
| def webtest.http.StopableWSGIServer.create | ( | cls, | |
| application, | |||
| kwargs | |||
| ) |
| def webtest.http.StopableWSGIServer.run | ( | self | ) |
| def webtest.http.StopableWSGIServer.shutdown | ( | self | ) |
| def webtest.http.StopableWSGIServer.wait | ( | self, | |
retries = 30 |
|||
| ) |
| def webtest.http.StopableWSGIServer.wrapper | ( | self, | |
| environ, | |||
| start_response | |||
| ) |
webtest::http.StopableWSGIServer::was_shutdown = False [static] |