Part of lp.services.webapp.tests.test_servers View In Hierarchy
Known subclasses: lp.services.webapp.tests.test_servers.TestLaunchpadBrowserRequestMixinWithLaunchpadBrowserRequest, lp.services.webapp.tests.test_servers.TestLaunchpadBrowserRequestMixinWithLaunchpadTestRequest
LaunchpadBrowserRequestMixin
.
As LaunchpadBrowserRequestMixin
is a mixin, it needs to be tested when
mixed into another class, hence why this does not inherit from TestCase
.
Method | test_is_ajax_false | Normal requests do not define HTTP_X_REQUESTED_WITH. |
Method | test_is_ajax_true | Requests with HTTP_X_REQUESTED_WITH set are ajax requests. |
Method | test_getURL | getURL() overrides HTTPRequest.getURL(), but behaves identically by |
Method | test_getURL_include_query | getURL() overrides HTTPRequest.getURL(), but appends the query string |