Public Member Functions | |
def | get_app |
def | get_app_kwargs |
def | get_handlers |
Public Attributes | |
app |
Base class for web tests that also supports WSGI mode. Override get_handlers and get_app_kwargs instead of get_app. Append to wsgi_safe to have it run in wsgi_test as well.
Definition at line 41 of file web_test.py.
def tornado.test.web_test.WebTestCase.get_app | ( | self | ) |
Should be overridden by subclasses to return a `tornado.web.Application` or other `.HTTPServer` callback.
Reimplemented from tornado.testing.AsyncHTTPTestCase.
Definition at line 47 of file web_test.py.
def tornado.test.web_test.WebTestCase.get_app_kwargs | ( | self | ) |
Reimplemented in tornado.test.web_test.XSRFTest, tornado.test.web_test.DefaultHandlerArgumentsTest, tornado.test.web_test.Custom404Test, tornado.test.web_test.GetCurrentUserTest, tornado.test.web_test.UIMethodUIModuleTest, tornado.test.web_test.GzipTestCase, tornado.test.web_test.ErrorHandlerXSRFTest, tornado.test.web_test.CustomStaticFileTest, tornado.test.web_test.StaticFileWithPathTest, tornado.test.web_test.StaticDefaultFilenameTest, tornado.test.web_test.StaticFileTest, and tornado.test.web_test.WSGISafeWebTest.
Definition at line 54 of file web_test.py.
def tornado.test.web_test.WebTestCase.get_handlers | ( | self | ) |
Reimplemented in tornado.test.web_test.IncorrectContentLengthTest, tornado.test.web_test.StreamingRequestFlowControlTest, tornado.test.web_test.StreamingRequestBodyTest, tornado.test.web_test.HandlerByNameTest, tornado.test.web_test.DefaultHandlerArgumentsTest, tornado.test.web_test.Custom404Test, tornado.test.web_test.Default404Test, tornado.test.web_test.GetCurrentUserTest, tornado.test.web_test.PathArgsInPrepareTest, tornado.test.web_test.ErrorHandlerXSRFTest, tornado.test.web_test.NamedURLSpecGroupsTest, tornado.test.web_test.HostMatchingTest, tornado.test.web_test.CustomStaticFileTest, tornado.test.web_test.StaticFileWithPathTest, tornado.test.web_test.StaticDefaultFilenameTest, tornado.test.web_test.StaticFileTest, tornado.test.web_test.ErrorResponseTest, tornado.test.web_test.NonWSGIWebTests, tornado.test.web_test.WSGISafeWebTest, tornado.test.web_test.RequestEncodingTest, tornado.test.web_test.ConnectionCloseTest, tornado.test.web_test.AuthRedirectTest, tornado.test.web_test.CookieTest, and tornado.test.web_test.SimpleHandlerTestCase.
Definition at line 51 of file web_test.py.
Definition at line 47 of file web_test.py.