Home
last modified time | relevance | path

Searched refs:TestApp (Results 1 – 25 of 72) sorted by relevance

123

/external/chromium-trace/catapult/third_party/Paste/tests/
Dtest_fileapp.py25 harness = TestApp(DataApp(b'mycontent'))
37 return TestApp(app).get("/")
61 return TestApp(app).get("/")
84 harness = TestApp(DataApp(b'mycontent'))
110 res = TestApp(app).get("/")
120 res = TestApp(app).get("/",headers={'Cache-Control': 'max-age=0'})
129 res = TestApp(app).get("/",headers={'Cache-Control': 'max-age=0'})
150 assert TestApp(app).get(path, status=403).status == 403, ValueError(path)
152 assert TestApp(app).get(path, status=404).status == 404, ValueError(path)
153 assert TestApp(app).get('/file').body == b'abcd'
[all …]
Dtest_wsgiwrappers.py5 from paste.fixture import TestApp
39 app = TestApp(AssertApp(assertfunc=valid_name(u'José', encoding='UTF-8')))
43 app = TestApp(AssertApp(assertfunc=valid_name(u'田中', encoding='UTF-8')))
47 app = TestApp(AssertApp(assertfunc=valid_name(u'日本', encoding='UTF-8',
54 app = TestApp(AssertApp(assertfunc=valid_name('日本', post=True)))
61 app = TestApp(AssertApp(assertfunc=valid_name(u'日本', post=True,
67 app = TestApp(AssertApp(assertfunc=valid_name(u'日本', post=True,
97 app = TestApp(handle_fileupload)
Dtest_errordocument.py14 app = TestApp(simple_app)
31 app = TestApp(error_docs_app)
47 app = TestApp(RecursiveMiddleware(app))
77 app = TestApp(wsgi_app)
90 app = TestApp(app)
Dtest_cgiapp.py12 app = TestApp(CGIApplication({}, script='ok.cgi', path=[data_dir]))
19 app = TestApp(CGIApplication({}, script='form.cgi', path=[data_dir]))
27 app = TestApp(CGIApplication({}, script='error.cgi', path=[data_dir]))
31 app = TestApp(CGIApplication({}, script='stderr.cgi', path=[data_dir]))
Dtest_registry.py109 app = TestApp(simpleapp)
117 app = TestApp(wsgiapp)
124 app = TestApp(simpleapp_withregistry)
128 app = TestApp(simpleapp_withregistry_default)
141 app = TestApp(wsgiapp)
160 app = TestApp(wsgiapp)
179 app = TestApp(wsgiapp)
195 app = TestApp(stack)
307 wsgiapp = TestApp(simpleapp)
Dtest_session.py2 from paste.fixture import TestApp
35 app = TestApp(wsgi_app)
48 app = TestApp(wsgi_app)
Dtest_request.py24 app = TestApp(simpleapp)
34 app = TestApp(simpleapp)
45 app = TestApp(simpleapp)
Dtest_config.py5 from paste.fixture import TestApp
44 res = TestApp(app).get('/')
56 res = TestApp(app).get('/')
Dtest_proxy.py2 from paste.fixture import TestApp
9 app = TestApp(app)
Dtest_gzipper.py1 from paste.fixture import TestApp
11 app = TestApp(wsgi_app)
Dtest_fixture.py2 from paste.fixture import TestApp
5 app = TestApp(SimpleApplication())
Dtest_urlparser.py18 testapp = TestApp(app)
110 app = TestApp(StaticURLParser(relative_path('find_file')),
117 testapp = TestApp(app)
140 testapp = TestApp(app)
Dtest_urlmap.py17 app = TestApp(mapper)
49 app = TestApp(mapper, extra_environ={'HTTP_ACCEPT': 'text/html'})
Dtest_recursive.py25 app = TestApp(RecursiveMiddleware(app))
77 app = TestApp(RecursiveMiddleware(app))
Dtest_profilemiddleware.py19 app = TestApp(ProfileMiddleware(simple_app, {}))
Dtest_grantip.py22 app = TestApp(app)
/external/chromium-trace/catapult/third_party/webtest/webtest/
D__init__.py9 from webtest.app import TestApp
/external/chromium-trace/catapult/third_party/Paste/docs/modules/
Dfixture.txt11 .. autoclass:: TestApp
/external/chromium-trace/catapult/dashboard/dashboard/
Dpost_data_handler_test.py29 self.testapp = webtest.TestApp(app)
Dbisect_stats_test.py21 self.testapp = webtest.TestApp(app)
Dpost_bisect_results_test.py71 self.testapp = webtest.TestApp(app)
Dshort_uri_test.py22 self.testapp = webtest.TestApp(app)
Dget_logs_test.py21 self.testapp = webtest.TestApp(app)
Dbisect_fyi_test.py73 self.testapp = webtest.TestApp(app)
Dedit_bug_labels_test.py24 self.testapp = webtest.TestApp(app)

123