Searched refs:TestApp (Results 1 – 24 of 24) sorted by relevance
/external/chromium-trace/trace-viewer/third_party/Paste/tests/ |
D | test_fileapp.py | 25 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 …]
|
D | test_wsgiwrappers.py | 5 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)
|
D | test_errordocument.py | 14 app = TestApp(simple_app) 31 app = TestApp(error_docs_app) 47 app = TestApp(RecursiveMiddleware(app)) 77 app = TestApp(wsgi_app) 90 app = TestApp(app)
|
D | test_cgiapp.py | 12 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]))
|
D | test_registry.py | 109 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)
|
D | test_session.py | 2 from paste.fixture import TestApp 35 app = TestApp(wsgi_app) 48 app = TestApp(wsgi_app)
|
D | test_request.py | 24 app = TestApp(simpleapp) 34 app = TestApp(simpleapp) 45 app = TestApp(simpleapp)
|
D | test_config.py | 5 from paste.fixture import TestApp 44 res = TestApp(app).get('/') 56 res = TestApp(app).get('/')
|
D | test_proxy.py | 2 from paste.fixture import TestApp 9 app = TestApp(app)
|
D | test_gzipper.py | 1 from paste.fixture import TestApp 11 app = TestApp(wsgi_app)
|
D | test_fixture.py | 2 from paste.fixture import TestApp 5 app = TestApp(SimpleApplication())
|
D | test_urlparser.py | 18 testapp = TestApp(app) 110 app = TestApp(StaticURLParser(relative_path('find_file')), 117 testapp = TestApp(app) 140 testapp = TestApp(app)
|
D | test_urlmap.py | 17 app = TestApp(mapper) 49 app = TestApp(mapper, extra_environ={'HTTP_ACCEPT': 'text/html'})
|
D | test_recursive.py | 25 app = TestApp(RecursiveMiddleware(app)) 77 app = TestApp(RecursiveMiddleware(app))
|
D | test_profilemiddleware.py | 19 app = TestApp(ProfileMiddleware(simple_app, {}))
|
D | test_grantip.py | 22 app = TestApp(app)
|
D | test_cgitb_catcher.py | 10 testapp = TestApp(app)
|
/external/chromium-trace/trace-viewer/third_party/Paste/docs/modules/ |
D | fixture.txt | 11 .. autoclass:: TestApp
|
/external/chromium-trace/trace-viewer/third_party/Paste/docs/ |
D | news.txt | 182 * 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 …]
|
D | developer-features.txt | 8 in :class:`paste.fixture.TestApp`
|
D | testing-applications.txt | 42 The methods of the ``app`` object (a ``paste.tests.fixture.TestApp``
|
D | DeveloperGuidelines.txt | 61 and middleware. Pay particular attention to ``TestApp``.
|
/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_exceptions/ |
D | test_error_middleware.py | 14 testapp = TestApp(app)
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/ |
D | fixture.py | 96 class TestApp(object): class
|