Home
last modified time | relevance | path

Searched refs:assertIn (Results 1 – 25 of 138) sorted by relevance

123456

/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_Doption.py46 self.assertIn('media body', stderr)
48 self.assertIn('Comparing local vs cloud md5-checksum for', stderr)
49 self.assertIn('total_bytes_transferred: %d' % len(file_contents),
59 self.assertIn('Comparing local vs cloud md5-checksum for', stderr)
60 self.assertIn('total_bytes_transferred: 8', stderr)
68 self.assertIn('You are running gsutil with debug output enabled.', stderr)
69 self.assertIn("reply: 'HTTP/1.1 200 OK", stderr)
70 self.assertIn('config:', stderr)
71 self.assertIn("('proxy_pass', 'REDACTED')", stderr)
72 self.assertIn("reply: 'HTTP/1.1 200 OK", stderr)
[all …]
Dtest_stat.py31 self.assertIn(object_uri.uri, stdout)
32 self.assertIn('Creation time:', stdout)
47 self.assertIn('Cache-Control:', stdout)
48 self.assertIn('Content-Encoding:', stdout)
49 self.assertIn('Generation:', stdout)
50 self.assertIn('Metageneration:', stdout)
51 self.assertIn('Hash (crc32c):', stdout)
52 self.assertIn('Hash (md5):', stdout)
53 self.assertIn('Content-Length:', stdout)
54 self.assertIn('Content-Type:', stdout)
[all …]
Dtest_ls.py63 self.assertIn(suri(bucket_uri), stdout)
75 self.assertIn(suri(bucket_uri), stdout)
111 self.assertIn('404', stderr)
116 self.assertIn('404', stderr)
121 self.assertIn('404', stderr)
128 self.assertIn('matched no objects', stderr)
176 self.assertIn('%s#' % bucket2_uri.clone_replace_name(bucket_list[0].name),
178 self.assertIn('metageneration=', stdout)
203 self.assertIn(etag, stdout)
205 self.assertIn('etag=', stdout)
[all …]
Dtest_help.py34 self.assertIn('Available commands', stdout)
38 self.assertIn('gsutil web set', stdout)
43 self.assertIn('help about one of the subcommands', stdout)
47 self.assertIn('has no subcommands', stdout)
51 self.assertIn('ls - List providers, buckets', stdout)
55 self.assertIn('ls - List providers, buckets', stdout)
59 self.assertIn('gsutil web set', stdout)
64 self.assertIn('cp - Copy files and objects', stdout)
72 self.assertIn('Usage:', stderr)
Dtest_hash.py35 self.assertIn('Hashes [base64]', stdout)
36 self.assertIn('\tHash (crc32c):\t\t%s' % self._TEST_FILE_B64_CRC, stdout)
37 self.assertIn('\tHash (md5):\t\t%s' % self._TEST_FILE_B64_MD5, stdout)
45 self.assertIn('No files matched', e.reason)
57 self.assertIn('Hashes [hex]', stdout)
58 self.assertIn('\tHash (crc32c):\t\t%s' % self._TEST_FILE_HEX_CRC, stdout)
59 self.assertIn('\tHash (md5):\t\t%s' % self._TEST_FILE_HEX_MD5, stdout)
79 self.assertIn('\tHash (crc32c):\t\t%s' % self._TEST_FILE_B64_CRC, stdout)
81 self.assertIn('\tHash (md5):\t\t%s' % self._TEST_FILE_B64_MD5, stdout)
Dtest_setmeta.py74 self.assertIn('BadRequestException', stderr)
76 self.assertIn('Precondition', stderr)
96 self.assertIn('Precondition', stderr)
109 self.assertIn('Each header must appear at most once', stderr)
115 self.assertIn('Each header must appear at most once', stderr)
126 self.assertIn('footype', stdout)
134 self.assertIn('Invalid non-ASCII header', stderr)
148 self.assertIn(u'dessert:\t\tsoufflé', stdout)
155 self.assertIn('Invalid or disallowed header', stderr)
162 self.assertIn('must name an object', stderr)
[all …]
Dtest_cat.py33 self.assertIn('Invalid range', stderr)
36 self.assertIn('Invalid range', stderr)
39 self.assertIn('Invalid range', stderr)
42 self.assertIn('Invalid range', stderr)
81 self.assertIn('BadRequestException: 400', stderr)
86 self.assertIn('No URLs matched', stderr)
99 self.assertIn(data1, stdout)
100 self.assertIn('NotFoundException', stderr)
108 self.assertIn('NotFoundException', stderr)
113 self.assertIn(data1 + data2, stdout)
Dtest_logging.py39 self.assertIn('Enabling logging', stderr)
43 self.assertIn('LogObjectPrefix'.lower(), stdout.lower())
47 self.assertIn('Disabling logging', stderr)
54 self.assertIn('command requires at least', stderr)
59 self.assertIn('command requires at least', stderr)
64 self.assertIn('command requires at least', stderr)
68 self.assertIn('command requires at least', stderr)
Dtest_signurl.py63 self.assertIn(object_url.uri, stdout)
64 self.assertIn('test@developer.gserviceaccount.com', stdout)
65 self.assertIn('Expires=', stdout)
66 self.assertIn('\tGET\t', stdout)
72 self.assertIn('test@developer.gserviceaccount.com', stdout)
73 self.assertIn('Expires=', stdout)
74 self.assertIn('\tPUT\t', stdout)
104 self.assertIn(obj, line)
105 self.assertIn(partial_url, line)
124 self.assertIn(suri(obj_url), stdout)
Dtest_compose.py47 self.assertIn('command accepts at most', stderr)
53 self.assertIn(
66 self.assertIn(expected_msg, stderr)
75 self.assertIn(expected_msg, stderr)
115 self.assertIn('PreconditionException', stderr)
126 self.assertIn('NotFoundException', stderr)
128 self.assertIn('One of the source objects does not exist', stderr)
138 self.assertIn(expected_msg, stderr)
145 self.assertIn(expected_msg, stderr)
Dtest_gsutil.py36 self.assertIn('gsutil version: %s\n' % gslib.VERSION, stdout)
37 self.assertIn('boto version', stdout)
38 self.assertIn('checksum', stdout)
39 self.assertIn('config path', stdout)
40 self.assertIn('gsutil path', stdout)
Dtest_creds_config.py44 self.assertIn('types of configured credentials', msg)
45 self.assertIn(CredTypes.OAUTH2_USER_ACCOUNT, msg)
46 self.assertIn(CredTypes.OAUTH2_SERVICE_ACCOUNT, msg)
60 self.assertIn('credentials are invalid', warning_messages[0])
61 self.assertIn(CredTypes.OAUTH2_USER_ACCOUNT, warning_messages[0])
Dtest_rb.py32 self.assertIn('404', stderr)
38 self.assertIn('BucketNotEmpty', stderr)
44 self.assertIn('Bucket is not empty. Note: this is a versioned bucket',
50 self.assertIn('does not exist.', stderr)
62 self.assertIn('404', stderr)
Dtest_cors.py95 self.assertIn(self.no_cors, stdout)
103 self.assertIn(self.no_cors, stdout)
111 self.assertIn(self.no_cors, stdout)
126 self.assertIn('XML CORS data provided', stderr)
149 self.assertIn(self.no_cors, stdout)
165 self.assertIn(self.no_cors, stdout)
218 self.assertIn(line, actual)
234 self.assertIn('command requires at least', stderr)
239 self.assertIn('command requires at least', stderr)
243 self.assertIn('command requires at least', stderr)
Dtest_cp.py270 self.assertIn('Skipping existing item: %s' % suri(key_uri), stderr)
275 self.assertIn('Skipping existing item: %s' % suri(f), stderr)
284 self.assertIn('does not exist', stderr)
297 self.assertIn('Skipping existing item: %s' %
305 self.assertIn('Copying from <STDIN>', stderr)
313 self.assertIn('Multiple URL strings are not supported with streaming',
547 self.assertIn('cannot be the destination for gsutil cp', stderr)
555 self.assertIn('-m option is not supported with the cp -A flag', stderr)
650 self.assertIn('PreconditionException', stderr)
672 self.assertIn('PreconditionException', stderr)
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/
Demail_sheriff_test.py73 self.assertIn('10002 - 10004', body)
74 self.assertIn('100.0%', body)
75 self.assertIn('ChromiumPerf', body)
76 self.assertIn('Win7', body)
77 self.assertIn('dromaeo/dom', body)
80 self.assertIn('<b>10002 - 10004</b>', html)
81 self.assertIn('<b>100.0%</b>', html)
82 self.assertIn('<b>ChromiumPerf</b>', html)
83 self.assertIn('<b>Win7</b>', html)
84 self.assertIn('<b>dromaeo/dom</b>', html)
[all …]
Dbuildbucket_job_test.py35 self.assertIn('builder_name', params)
40 self.assertIn('test_type', bisect_config)
41 self.assertIn('command', bisect_config)
42 self.assertIn('src', bisect_config['command'])
43 self.assertIn('metric', bisect_config)
44 self.assertIn('good_revision', bisect_config)
45 self.assertIn('bad_revision', bisect_config)
46 self.assertIn('repeat_count', bisect_config)
47 self.assertIn('max_time_minutes', bisect_config)
Dfile_bug_test.py99 self.assertIn('<div class="error">', response.body)
100 self.assertIn('No alerts specified', response.body)
122 self.assertIn('Restrict-View-Google', response.body)
133 self.assertIn('label1-foo', response.body)
134 self.assertIn('Performance&gt;Blink', response.body)
173 self.assertIn('277761', response.body)
184 self.assertIn(
186 self.assertIn('https://chromeperf.appspot.com/group_report?keys=', comment)
187 self.assertIn(
210 self.assertIn('M-2', self.service.new_bug_kwargs['labels'])
[all …]
Dassociate_alerts_test.py84 self.assertIn('<div class="error">', response.body)
95 self.assertIn('<div class="error">', response.body)
96 self.assertIn('Invalid bug ID', response.body)
125 self.assertIn('12345', response.body)
126 self.assertIn('13579', response.body)
127 self.assertIn('<form', response.body)
137 self.assertIn('12345', response.body)
161 self.assertIn('578', response.body)
178 self.assertIn('Do you want to continue?', response.body)
192 self.assertIn('12345', response.body)
Ddebug_alert_test.py45 self.assertIn('<form', response.body)
46 self.assertIn('class="error"', response.body)
52 self.assertIn('id="plot"', response.body)
64 self.assertIn('<form', response.body)
83 self.assertIn('<form', response.body)
84 self.assertIn('class="error"', response.body)
106 self.assertIn('"min_absolute_change": 10', response.body)
118 self.assertIn('"min_relative_change": 0.75', response.body)
135 self.assertIn('Invalid JSON', response.body)
147 self.assertIn('12345', response.body)
Dreport_test.py101 self.assertIn('Chrome Performance Dashboard', response.body)
123 self.assertIn('sid=', location)
163 self.assertIn('sid=', location)
177 self.assertIn('sid=', location)
178 self.assertIn('start_rev=1234', location)
179 self.assertIn('end_rev=5678', location)
203 self.assertIn('sid=', location)
Dedit_site_config_test.py38 self.assertIn('XXXYYY', response.body)
45 self.assertIn('XXXYYY', response.body)
46 self.assertIn('XXXinternalYYY', response.body)
61 self.assertIn('Only internal users', response.body)
78 self.assertIn('Invalid JSON', response.body)
108 self.assertIn(
/external/chromium-trace/catapult/third_party/typ/typ/tests/
Dmain_test.py223 self.assertIn('(Pdb) ', out)
240 self.assertIn('[1/1] err_test.ErrTest.test_err failed unexpectedly',
242 self.assertIn('1 test run, 1 failure', out)
246 self.assertIn('fail_test.FailingTest.test_fail failed unexpectedly',
264 self.assertIn('Retrying failed tests (attempt #1 of 3)', out)
266 self.assertIn('1 test run, 0 failures.\n', out)
276 self.assertIn('[1/1] fail_test.FailingTest.test_fail failed '
361 self.assertIn('Failed to import test module: syn_test', out)
362 self.assertIn((' syntax error\n'
395 self.assertIn('[1/2] load_test.BaseTest.test_fail failed', out)
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/value/
Dsummary_unittest.py68 self.assertIn(v0_list, values)
69 self.assertIn(v1_list, values)
70 self.assertIn(merged_value, values)
94 self.assertIn(v0_list, values)
95 self.assertIn(merged_list, values)
155 self.assertIn(v0_list, values)
156 self.assertIn(v1_list, values)
157 self.assertIn(v2_list, values)
158 self.assertIn(v3_list, values)
159 self.assertIn(v4_list, values)
[all …]
/external/tpm2/generator/
Dstructure_generator_test.py30 self.assertIn('INT', marshalled_types)
31 self.assertIn('INT2', marshalled_types)
44 self.assertIn('UINT16', marshalled_types)
45 self.assertIn('TPM_TYPE', marshalled_types)
59 self.assertIn('UINT16', marshalled_types)
60 self.assertIn('TPM_TYPE', marshalled_types)
75 self.assertIn('UINT16', marshalled_types)
76 self.assertIn('TPM_TYPE', marshalled_types)
106 self.assertIn('UINT16', marshalled_types)
107 self.assertIn('TPMI_TYPE', marshalled_types)
[all …]

123456