Home
last modified time | relevance | path

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

/external/chromium-trace/trace-viewer/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)
Dtest_cgitb_catcher.py10 testapp = TestApp(app)
/external/chromium-trace/trace-viewer/third_party/Paste/docs/modules/
Dfixture.txt11 .. autoclass:: TestApp
/external/chromium-trace/trace-viewer/third_party/Paste/docs/
Dnews.txt182 * Fixed bug in :class:`paste.fixture.TestApp` that would submit forms
194 * In :class:`paste.fixture.TestApp` Accept MultiDict values for the
213 * :mod:`paste.fixture.TestApp` can store multiple cookie values
216 * ``u'' in TestApp(app).get('/')`` will work when the body isn't ASCII
256 * In ``paste.fixture.TestApp`` treat ``<image type="image">`` the same
284 * In ``paste.fixture.TestApp`` set ``CONTENT_TYPE`` to
385 * Added REST methods to ``paste.fixture.TestApp``, so you can more
455 * ``paste.fixture.TestApp.get(status=X)`` takes a list of allowed
533 * ``paste.httpserver`` and ``paste.fixture.TestApp`` url-unquote
547 * In ``paste.fixture.TestApp``: ``<form>`` tags that have to
[all …]
Ddeveloper-features.txt8 in :class:`paste.fixture.TestApp`
Dtesting-applications.txt42 The methods of the ``app`` object (a ``paste.tests.fixture.TestApp``
DDeveloperGuidelines.txt61 and middleware. Pay particular attention to ``TestApp``.
/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_exceptions/
Dtest_error_middleware.py14 testapp = TestApp(app)
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dfixture.py96 class TestApp(object): class