Searched refs:testapp (Results 1 – 25 of 57) sorted by relevance
123
/external/chromium-trace/catapult/third_party/Paste/tests/ |
D | test_urlparser.py | 18 testapp = TestApp(app) 19 return testapp 117 testapp = TestApp(app) 118 res = testapp.get('', status=301) 119 res = testapp.get('/', status=404) 120 res = testapp.get('/index.txt') 122 res = testapp.get('/index.txt/foo', status=404) 123 res = testapp.get('/test 3.html') 125 res = testapp.get('/test%203.html') 127 res = testapp.get('/dir with spaces/test 4.html') [all …]
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | edit_site_config_test.py | 25 self.testapp = webtest.TestApp(app) 31 response = self.testapp.get('/edit_site_config') 36 response = self.testapp.get('/edit_site_config?key=foo') 43 response = self.testapp.get('/edit_site_config?key=foo') 49 self.testapp.post('/edit_site_config', { 56 response = self.testapp.post('/edit_site_config', { 64 self.testapp.post('/edit_site_config', { 73 response = self.testapp.post('/edit_site_config', { 84 self.testapp.post('/edit_site_config', { 96 self.testapp.post('/edit_site_config', {
|
D | add_point_test.py | 143 self.testapp = webtest.TestApp(app) 178 self.testapp.post( 266 self.testapp.post( 280 self.testapp.post( 293 self.testapp.post( 303 self.testapp.post( 313 self.testapp.post( 326 self.testapp.post( 338 self.testapp.post( 346 self.testapp.post( [all …]
|
D | bad_bisect_test.py | 28 self.testapp = webtest.TestApp(app) 35 response = self.testapp.get('/bad_bisect') 40 self.testapp.get('/bad_bisect?', {'try_job_id': '1234'}) 41 response = self.testapp.get('/bad_bisect') 45 response = self.testapp.get('/bad_bisect?', {'try_job_id': '1234'}) 50 self.testapp.post('/bad_bisect?', { 59 self.testapp.post('/bad_bisect?', {
|
D | debug_alert_test.py | 32 self.testapp = webtest.TestApp(app) 44 response = self.testapp.get('/debug_alert?test_path=foo') 51 response = self.testapp.get('/debug_alert?test_path=%s' % test_path) 58 get_response = self.testapp.get('/debug_alert?test_path=%s' % test_path) 59 post_response = self.testapp.post('/debug_alert?test_path=%s' % test_path) 63 response = self.testapp.get('/debug_alert') 70 response = self.testapp.get( 80 response = self.testapp.get( 101 response = self.testapp.get( 111 response = self.testapp.get( [all …]
|
D | group_report_test.py | 28 self.testapp = webtest.TestApp(app) 72 response = self.testapp.get('/group_report') 89 response = self.testapp.post( 99 response = self.testapp.post('/group_report?keys=%s' % key.urlsafe()) 104 response = self.testapp.post('/group_report?keys=foobar') 116 response = self.testapp.post('/group_report?rev=200') 121 response = self.testapp.post('/group_report?rev=foo') 134 response = self.testapp.post('/group_report?bug_id=123') 145 response = self.testapp.post('/group_report?bug_id=123') 158 response = self.testapp.post('/group_report?bug_id=123') [all …]
|
D | list_tests_test.py | 27 self.testapp = webtest.TestApp(app) 78 response = self.testapp.post('/list_tests', { 131 response = self.testapp.post('/list_tests', { 161 response = self.testapp.post('/list_tests', { 200 response = self.testapp.post('/list_tests', { 216 response = self.testapp.post('/list_tests', { 310 response = self.testapp.post('/list_tests', { 321 response = self.testapp.post('/list_tests', { 326 response = self.testapp.post('/list_tests', { 338 response = self.testapp.post('/list_tests', { [all …]
|
D | set_warning_message_test.py | 22 self.testapp = webtest.TestApp(app) 30 response = self.testapp.get('/set_warning_message') 36 response = self.testapp.get('/set_warning_message') 41 response = self.testapp.post( 50 self.testapp.post( 58 self.testapp.post( 66 self.testapp.post('/set_warning_message', {'warning_message': ''})
|
D | short_uri_test.py | 22 self.testapp = webtest.TestApp(app) 29 response = self.testapp.post( 34 response = self.testapp.get('/short_uri', {'sid': page_state_id}) 39 self.testapp.get('/short_uri', {'sid': '123xyz'}, status=400) 42 self.testapp.get('/short_uri', status=400) 45 self.testapp.post('/short_uri', status=400)
|
D | report_test.py | 26 self.testapp = webtest.TestApp(app) 60 self.testapp.post('/update_test_suites') 94 response = self.testapp.post('/report') 99 response = self.testapp.get('/report') 115 response = self.testapp.get( 131 response = self.testapp.get( 156 response = self.testapp.get( 171 response = self.testapp.get( 196 response = self.testapp.get(
|
D | edit_anomalies_test.py | 25 self.testapp = webtest.TestApp(app) 52 self.testapp.post('/edit_anomalies', { 61 self.testapp.post('/edit_anomalies', { 71 self.testapp.post('/edit_anomalies', { 84 self.testapp.post('/edit_anomalies', { 97 response = self.testapp.post('/edit_anomalies', { 110 response = self.testapp.post('/edit_anomalies', { 122 self.testapp.post('/edit_anomalies', { 136 response = self.testapp.post('/edit_anomalies', { 151 response = self.testapp.post('/edit_anomalies', {
|
D | edit_test_owners_test.py | 30 self.testapp = webtest.TestApp(app) 45 response = self.testapp.get('/edit_test_owners') 57 response = self.testapp.get('/edit_test_owners') 83 self.testapp.post('/edit_test_owners', { 92 self.testapp.post('/edit_test_owners', { 105 self.testapp.post('/edit_test_owners', { 115 self.testapp.post('/edit_test_owners', { 126 self.testapp.post('/edit_test_owners', {
|
D | associate_alerts_test.py | 30 self.testapp = webtest.TestApp(app) 83 response = self.testapp.get('/associate_alerts') 87 get_response = self.testapp.get('/associate_alerts') 88 post_response = self.testapp.post('/associate_alerts') 93 response = self.testapp.get( 123 response = self.testapp.get('/associate_alerts?keys=%s' % key_map[10000]) 133 response = self.testapp.get( 150 self.testapp.get( 157 response = self.testapp.get( 174 response = self.testapp.get( [all …]
|
D | edit_sheriffs_test.py | 31 self.testapp = webtest.TestApp(app) 55 self.testapp.post('/edit_sheriffs', { 74 self.testapp.post('/edit_sheriffs', { 105 self.testapp.post('/edit_sheriffs', { 128 self.testapp.post('/edit_sheriffs', { 138 response = self.testapp.post('/edit_sheriffs', { 146 response = self.testapp.post('/edit_sheriffs', { 154 response = self.testapp.post('/edit_sheriffs', { 163 response = self.testapp.post('/edit_sheriffs', { 172 response = self.testapp.post('/edit_sheriffs', { [all …]
|
D | auto_triage_test.py | 28 self.testapp = webtest.TestApp(app) 81 self.testapp.post('/auto_triage') 94 self.testapp.post('/auto_triage') 107 self.testapp.post('/auto_triage') 120 self.testapp.post('/auto_triage') 134 self.testapp.post('/auto_triage') 152 self.testapp.post('/auto_triage') 161 self.testapp.post('/auto_triage') 192 self.testapp.post('/auto_triage') 216 self.testapp.post('/auto_triage')
|
D | start_try_job_test.py | 328 self.testapp = webtest.TestApp(app) 366 response = self.testapp.post('/start_try_job', { 411 response = self.testapp.post('/start_try_job', { 444 response = self.testapp.post('/start_try_job', { 455 response = self.testapp.post('/start_try_job', { 462 response = self.testapp.post('/start_try_job', { 469 response = self.testapp.post('/start_try_job', { 477 response = self.testapp.post('/start_try_job', { 743 response = self.testapp.post('/start_try_job', query_parameters) 794 response = self.testapp.post('/start_try_job', query_parameters) [all …]
|
D | alerts_test.py | 28 self.testapp = webtest.TestApp(app) 96 response = self.testapp.get('/alerts') 102 response = self.testapp.post('/alerts') 127 response = self.testapp.post('/alerts', {'triaged': 'true'}) 148 response = self.testapp.post('/alerts', {'improvements': 'true'}) 166 response = self.testapp.post('/alerts', {'sheriff': 'Sheriff2'}) 182 response = self.testapp.post('/alerts?sheriff=Sheriff') 195 response = self.testapp.post('/alerts?sheriff=Sheriff') 201 response = self.testapp.post('/alerts?sheriff=Foo') 208 response = self.testapp.post('/alerts?sheriff=Foo')
|
D | dump_graph_json_test.py | 27 self.testapp = webtest.TestApp(app) 35 response = self.testapp.get('/dump_graph_json', {'test_path': 'M/b/foo'}) 62 response = self.testapp.get( 77 response = self.testapp.get( 88 response = self.testapp.get( 106 response = self.testapp.get( 145 response = self.testapp.get( 161 self.testapp.get('/dump_graph_json', {}, status=500) 165 response = self.testapp.get('/dump_graph_json', {'test_path': 'x'})
|
D | update_bug_with_results_test.py | 157 self.testapp = webtest.TestApp(app) 198 self.testapp.get('/update_bug_with_results') 223 self.testapp.get('/update_bug_with_results') 247 self.testapp.get('/update_bug_with_results') 270 self.testapp.get('/update_bug_with_results') 291 self.testapp.get('/update_bug_with_results') 310 self.testapp.get('/update_bug_with_results') 325 self.testapp.get('/update_bug_with_results') 360 self.testapp.get('/update_bug_with_results') 376 self.testapp.get('/update_bug_with_results') [all …]
|
D | auto_bisect_test.py | 35 self.testapp = webtest.TestApp(app) 50 self.testapp.post('/auto_bisect') 60 self.testapp.post('/auto_bisect') 70 self.testapp.post('/auto_bisect') 88 response = self.testapp.get('/auto_bisect?stats') 186 self.testapp = webtest.TestApp(app) 190 self.testapp.post('/auto_bisect') 202 self.testapp.post('/auto_bisect') 214 self.testapp.post('/auto_bisect') 225 self.testapp.post('/auto_bisect')
|
D | new_points_test.py | 25 self.testapp = webtest.TestApp(app) 73 response = self.testapp.get('/new_points') 80 response = self.testapp.get('/new_points', 88 response = self.testapp.get('/new_points', 100 response = self.testapp.get('/new_points') 109 response = self.testapp.get('/new_points') 121 response = self.testapp.get(
|
D | post_data_handler_test.py | 29 self.testapp = webtest.TestApp(app) 32 self.testapp.post('/whitelist_test', {'data': json.dumps([_SAMPLE_POINT])}) 36 self.testapp.post( 42 self.testapp.post(
|
D | edit_bug_labels_test.py | 24 self.testapp = webtest.TestApp(app) 33 self.testapp.post('/edit_bug_labels', { 46 self.testapp.post('/edit_bug_labels', { 59 self.testapp.post('/edit_bug_labels', {
|
D | can_bisect_test.py | 21 self.testapp = webtest.TestApp(app) 29 response = self.testapp.post('/can_bisect', { 37 response = self.testapp.post('/can_bisect', { 45 response = self.testapp.post('/can_bisect', {})
|
D | xsrf_test.py | 30 self.testapp = webtest.TestApp(app) 44 self.testapp.post('/example', {}, status=403) 47 self.testapp.post( 55 self.testapp.post('/example', {'xsrf_token': token})
|
123