/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/tests/ |
H A D | test_retention.py | 147 bucket_uri, 204 suri(bucket_uri) 207 bucket_uri, 218 suri(bucket_uri) 309 object_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') 327 object_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') 347 object1_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') 348 object2_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') 374 object1_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') 414 object_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') [all …]
|
H A D | test_rm.py | 224 obj_uri = self.CreateObject(bucket_uri=bucket_uri, 514 ouri1 = self.CreateObject(bucket_uri=bucket_uri, 528 ouri1 = self.CreateObject(bucket_uri=bucket_uri, 531 ouri2 = self.CreateObject(bucket_uri=bucket_uri, 534 ouri3 = self.CreateObject(bucket_uri=bucket_uri, 553 ouri1 = self.CreateObject(bucket_uri=bucket_uri, 556 ouri2 = self.CreateObject(bucket_uri=bucket_uri, 559 ouri3 = self.CreateObject(bucket_uri=bucket_uri, 562 ouri4 = self.CreateObject(bucket_uri=bucket_uri, 565 ouri5 = self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_du.py | 37 self.CreateObject(bucket_uri=bucket_uri, 40 self.CreateObject(bucket_uri=bucket_uri, 43 self.CreateObject(bucket_uri=bucket_uri, 46 self.CreateObject(bucket_uri=bucket_uri, 65 obj_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'foo') 98 obj_uri1 = self.CreateObject(bucket_uri=bucket_uri, contents=b'foo') 99 obj_uri2 = self.CreateObject(bucket_uri=bucket_uri, contents=b'foo2') 117 obj_uri1 = self.CreateObject(bucket_uri=bucket_uri, contents=b'foo') 118 obj_uri2 = self.CreateObject(bucket_uri=bucket_uri, contents=b'zebra') 190 object_uri1 = self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_rsync.py | 843 self.CreateObject(bucket_uri=bucket_uri, 846 self.CreateObject(bucket_uri=bucket_uri, 852 self.CreateObject(bucket_uri=bucket_uri, 855 self.CreateObject(bucket_uri=bucket_uri, 859 self.CreateObject(bucket_uri=bucket_uri, 863 self.CreateObject(bucket_uri=bucket_uri, 1049 self.CreateObject(bucket_uri=bucket_uri, 1052 self.CreateObject(bucket_uri=bucket_uri, 1055 self.CreateObject(bucket_uri=bucket_uri, 1136 self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_ls.py | 722 key_uri = self.CreateObject(bucket_uri=bucket_uri, 803 self.CreateObject(bucket_uri=bucket_uri, 829 self.CreateObject(bucket_uri=bucket_uri, 832 self.CreateObject(bucket_uri=bucket_uri, 857 object_uri = self.CreateObject(bucket_uri=bucket_uri, 914 self.CreateObject(bucket_uri=bucket_uri, 918 self.CreateObject(bucket_uri=bucket_uri, 922 self.CreateObject(bucket_uri=bucket_uri, 926 self.CreateObject(bucket_uri=bucket_uri, 930 self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_compose.py | 48 self.CreateObject(bucket_uri=bucket_uri, contents=data).uri 104 component1 = self.CreateObject(bucket_uri=bucket_uri, 107 component2 = self.CreateObject(bucket_uri=bucket_uri, 120 k1_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'data1') 121 k2_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'data2') 151 object_uri1 = self.CreateObject(bucket_uri=bucket_uri, 154 object_uri2 = self.CreateObject(bucket_uri=bucket_uri, 163 suri(bucket_uri, 'obj') 197 object_uri1 = self.CreateObject(bucket_uri=bucket_uri, 200 object_uri2 = self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_stat.py | 58 old_object_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'z') 61 self.CreateObject(bucket_uri=bucket_uri, 123 self.CreateObject(bucket_uri=bucket_uri, 138 self.CreateObject(bucket_uri=bucket_uri, 154 self.CreateObject(bucket_uri=bucket_uri, object_name='foo', contents=b'z') 162 object1_uri = self.CreateObject(bucket_uri=bucket_uri, 165 object2_uri = self.CreateObject(bucket_uri=bucket_uri, 186 object_uri = self.CreateObject(bucket_uri=bucket_uri, 212 object1_uri = self.CreateObject(bucket_uri=bucket_uri, 216 object2_uri = self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_requester_pays.py | 59 def _set_requester_pays(self, bucket_uri): argument 87 bucket_uri = self.CreateBucket() 93 bucket_uri = self.CreateBucket() 104 bucket_uri = self.CreateBucket() 187 bucket_uri = self.CreateBucket() 189 self.CreateObject(bucket_uri=bucket_uri, contents=data).uri 251 bucket_uri = self.CreateBucket() 252 object1_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'bar') 253 object2_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'baz') 254 self.AssertNObjectsInBucket(bucket_uri, 2) [all …]
|
H A D | test_mb.py | 39 bucket_uri = self.CreateBucket() 40 stderr = self.RunGsUtil(['mb', suri(bucket_uri)], 54 bucket_uri = boto.storage_uri('gs://%s' % (bucket_name.lower()), 56 self.RunGsUtil(['mb', '--retention', '60s', suri(bucket_uri)]) 57 self.VerifyRetentionPolicy(bucket_uri, 63 bucket_uri = boto.storage_uri('gs://%s' % (bucket_name.lower()), 65 self.RunGsUtil(['mb', '--retention', '1d', suri(bucket_uri)]) 74 self.RunGsUtil(['mb', '--retention', '1m', suri(bucket_uri)]) 83 self.RunGsUtil(['mb', '--retention', '1y', suri(bucket_uri)]) 93 suri(bucket_uri)], [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/tests/ |
H A D | test_retention.py | 147 bucket_uri, 204 suri(bucket_uri) 207 bucket_uri, 218 suri(bucket_uri) 309 object_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') 327 object_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') 347 object1_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') 348 object2_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') 374 object1_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') 414 object_uri = self.CreateObject(bucket_uri=bucket_uri, contents='content') [all …]
|
H A D | test_rm.py | 215 obj_uri = self.CreateObject(bucket_uri=bucket_uri, 498 ouri1 = self.CreateObject(bucket_uri=bucket_uri, 501 ouri2 = self.CreateObject(bucket_uri=bucket_uri, 504 ouri3 = self.CreateObject(bucket_uri=bucket_uri, 521 ouri1 = self.CreateObject(bucket_uri=bucket_uri, 524 ouri2 = self.CreateObject(bucket_uri=bucket_uri, 527 ouri3 = self.CreateObject(bucket_uri=bucket_uri, 530 ouri4 = self.CreateObject(bucket_uri=bucket_uri, 533 ouri5 = self.CreateObject(bucket_uri=bucket_uri, 536 ouri6 = self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_du.py | 37 self.CreateObject(bucket_uri=bucket_uri, 40 self.CreateObject(bucket_uri=bucket_uri, 43 self.CreateObject(bucket_uri=bucket_uri, 46 self.CreateObject(bucket_uri=bucket_uri, 65 obj_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'foo') 98 obj_uri1 = self.CreateObject(bucket_uri=bucket_uri, contents=b'foo') 99 obj_uri2 = self.CreateObject(bucket_uri=bucket_uri, contents=b'foo2') 117 obj_uri1 = self.CreateObject(bucket_uri=bucket_uri, contents=b'foo') 118 obj_uri2 = self.CreateObject(bucket_uri=bucket_uri, contents=b'zebra') 190 object_uri1 = self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_rsync.py | 829 self.CreateObject(bucket_uri=bucket_uri, 832 self.CreateObject(bucket_uri=bucket_uri, 838 self.CreateObject(bucket_uri=bucket_uri, 841 self.CreateObject(bucket_uri=bucket_uri, 845 self.CreateObject(bucket_uri=bucket_uri, 849 self.CreateObject(bucket_uri=bucket_uri, 1035 self.CreateObject(bucket_uri=bucket_uri, 1038 self.CreateObject(bucket_uri=bucket_uri, 1041 self.CreateObject(bucket_uri=bucket_uri, 1122 self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_ls.py | 592 self.CreateObject(bucket_uri=bucket_uri, contents=b'x' * 2048) 654 key_uri = self.CreateObject(bucket_uri=bucket_uri, 745 self.CreateObject(bucket_uri=bucket_uri, 748 self.CreateObject(bucket_uri=bucket_uri, 773 object_uri = self.CreateObject(bucket_uri=bucket_uri, 830 self.CreateObject(bucket_uri=bucket_uri, 834 self.CreateObject(bucket_uri=bucket_uri, 838 self.CreateObject(bucket_uri=bucket_uri, 842 self.CreateObject(bucket_uri=bucket_uri, 846 self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_compose.py | 48 self.CreateObject(bucket_uri=bucket_uri, contents=data).uri 104 component1 = self.CreateObject(bucket_uri=bucket_uri, 107 component2 = self.CreateObject(bucket_uri=bucket_uri, 120 k1_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'data1') 121 k2_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'data2') 151 object_uri1 = self.CreateObject(bucket_uri=bucket_uri, 154 object_uri2 = self.CreateObject(bucket_uri=bucket_uri, 163 suri(bucket_uri, 'obj') 197 object_uri1 = self.CreateObject(bucket_uri=bucket_uri, 200 object_uri2 = self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_stat.py | 58 old_object_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'z') 61 self.CreateObject(bucket_uri=bucket_uri, 123 self.CreateObject(bucket_uri=bucket_uri, 138 self.CreateObject(bucket_uri=bucket_uri, 154 self.CreateObject(bucket_uri=bucket_uri, object_name='foo', contents=b'z') 162 object1_uri = self.CreateObject(bucket_uri=bucket_uri, 165 object2_uri = self.CreateObject(bucket_uri=bucket_uri, 186 object_uri = self.CreateObject(bucket_uri=bucket_uri, 212 object1_uri = self.CreateObject(bucket_uri=bucket_uri, 216 object2_uri = self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_requester_pays.py | 59 def _set_requester_pays(self, bucket_uri): argument 87 bucket_uri = self.CreateBucket() 93 bucket_uri = self.CreateBucket() 104 bucket_uri = self.CreateBucket() 187 bucket_uri = self.CreateBucket() 189 self.CreateObject(bucket_uri=bucket_uri, contents=data).uri 251 bucket_uri = self.CreateBucket() 252 object1_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'bar') 253 object2_uri = self.CreateObject(bucket_uri=bucket_uri, contents=b'baz') 254 self.AssertNObjectsInBucket(bucket_uri, 2) [all …]
|
H A D | test_mb.py | 39 bucket_uri = self.CreateBucket() 40 stderr = self.RunGsUtil(['mb', suri(bucket_uri)], 54 bucket_uri = boto.storage_uri('gs://%s' % (bucket_name.lower()), 56 self.RunGsUtil(['mb', '--retention', '60s', suri(bucket_uri)]) 57 self.VerifyRetentionPolicy(bucket_uri, 63 bucket_uri = boto.storage_uri('gs://%s' % (bucket_name.lower()), 65 self.RunGsUtil(['mb', '--retention', '1d', suri(bucket_uri)]) 74 self.RunGsUtil(['mb', '--retention', '1m', suri(bucket_uri)]) 83 self.RunGsUtil(['mb', '--retention', '1y', suri(bucket_uri)]) 93 suri(bucket_uri)], [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/gslib/tests/ |
H A D | test_rm.py | 453 ouri1 = self.CreateObject(bucket_uri=bucket_uri, 455 ouri2 = self.CreateObject(bucket_uri=bucket_uri, 457 ouri3 = self.CreateObject(bucket_uri=bucket_uri, 472 ouri1 = self.CreateObject(bucket_uri=bucket_uri, 475 ouri2 = self.CreateObject(bucket_uri=bucket_uri, 478 ouri3 = self.CreateObject(bucket_uri=bucket_uri, 481 ouri4 = self.CreateObject(bucket_uri=bucket_uri, 484 ouri5 = self.CreateObject(bucket_uri=bucket_uri, 487 ouri6 = self.CreateObject(bucket_uri=bucket_uri, 490 ouri7 = self.CreateObject(bucket_uri=bucket_uri, [all …]
|
H A D | test_du.py | 34 bucket_uri=bucket_uri, object_name='sub1材/five', contents='5five')) 36 bucket_uri=bucket_uri, object_name='sub1材/four', contents='four')) 40 bucket_uri=bucket_uri, object_name='sub1材/sub2/four', contents='four')) 55 obj_uri = self.CreateObject(bucket_uri=bucket_uri, contents='foo') 84 obj_uri1 = self.CreateObject(bucket_uri=bucket_uri, contents='foo') 85 obj_uri2 = self.CreateObject(bucket_uri=bucket_uri, contents='foo2') 100 obj_uri1 = self.CreateObject(bucket_uri=bucket_uri, contents='foo') 101 obj_uri2 = self.CreateObject(bucket_uri=bucket_uri, contents='zebra') 162 bucket_uri=bucket_uri, object_name='foo', contents='foo') 164 bucket_uri=bucket_uri, object_name='foo', contents='foo2', [all …]
|
H A D | test_rsync.py | 111 obj1 = self.CreateObject(bucket_uri=bucket_uri, object_name='obj1', 634 self.CreateObject(bucket_uri=bucket_uri, object_name='obj1', 636 self.CreateObject(bucket_uri=bucket_uri, object_name='.obj2', 641 self.CreateObject(bucket_uri=bucket_uri, object_name='obj4', 645 self.CreateObject(bucket_uri=bucket_uri, object_name='obj6', 647 self.CreateObject(bucket_uri=bucket_uri, object_name='obj7', 802 self.CreateObject(bucket_uri=bucket_uri, object_name='obj4', 871 self.CreateObject(bucket_uri=bucket_uri, object_name='obj7', 1190 self.CreateObject(bucket_uri=bucket_uri, object_name='obj1', 1196 self.CreateObject(bucket_uri=bucket_uri, object_name='obj4', [all …]
|
H A D | test_compose.py | 36 bucket_uri = self.CreateBucket() 39 components = [self.CreateObject(bucket_uri=bucket_uri, contents=data).uri 93 bucket_uri=bucket_uri, contents='hello ', object_name='component1') 95 bucket_uri=bucket_uri, contents='world!', object_name='component2') 106 k1_uri = self.CreateObject(bucket_uri=bucket_uri, contents='data1') 107 k2_uri = self.CreateObject(bucket_uri=bucket_uri, contents='data2') 128 object_uri1 = self.CreateObject(bucket_uri=bucket_uri, contents='foo', 130 object_uri2 = self.CreateObject(bucket_uri=bucket_uri, contents='bar', 157 object_uri1 = self.CreateObject(bucket_uri=bucket_uri, contents='foo', 159 object_uri2 = self.CreateObject(bucket_uri=bucket_uri, contents='bar', [all …]
|
H A D | test_ls.py | 264 obj_uri = self.CreateObject(bucket_uri=bucket_uri, contents='foo') 347 (suri(bucket_uri), suri(bucket_uri)), stdout) 379 obj_uri = self.CreateObject(bucket_uri=bucket_uri, contents='foo') 535 self.CreateObject(bucket_uri=bucket_uri, contents='x' * 2048) 593 key_uri = self.CreateObject(bucket_uri=bucket_uri, contents='foo', 704 object_uri = self.CreateObject(bucket_uri=bucket_uri, 759 bucket_uri=bucket_uri, object_name='foo', 762 bucket_uri=bucket_uri, object_name='foo2', 765 bucket_uri=bucket_uri, object_name='foo3', 768 bucket_uri=bucket_uri, object_name='foo4', [all …]
|
H A D | test_stat.py | 57 bucket_uri=bucket_uri, contents='z') 61 bucket_uri=bucket_uri, 120 self.CreateObject(bucket_uri=bucket_uri, object_name='notmissing', 123 ['stat', suri(bucket_uri, 'missing'), suri(bucket_uri, 'notmissing')], 130 self.CreateObject(bucket_uri=bucket_uri, object_name='notmissing', 133 ['stat', suri(bucket_uri, 'missin*'), suri(bucket_uri, 'notmissin*')], 140 self.CreateObject(bucket_uri=bucket_uri, object_name='foo', contents='z') 170 bucket_uri=bucket_uri, object_name='foo', 195 bucket_uri=bucket_uri, object_name='foo1', 198 bucket_uri=bucket_uri, object_name='foo2', [all …]
|
H A D | test_requester_pays.py | 56 def _set_requester_pays(self, bucket_uri): argument 82 bucket_uri = self.CreateBucket() 88 bucket_uri = self.CreateBucket() 98 bucket_uri = self.CreateBucket() 173 bucket_uri = self.CreateBucket() 174 components = [self.CreateObject(bucket_uri=bucket_uri, contents=data).uri 233 bucket_uri = self.CreateBucket() 234 object1_uri = self.CreateObject(bucket_uri=bucket_uri, contents='bar') 235 object2_uri = self.CreateObject(bucket_uri=bucket_uri, contents='baz') 236 self.AssertNObjectsInBucket(bucket_uri, 2) [all …]
|