Home
last modified time | relevance | path

Searched refs:cloud_bucket (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/chrome/test/ispy/common/
Dispy_utils.py69 def __init__(self, cloud_bucket): argument
76 self.cloud_bucket = cloud_bucket
85 self.cloud_bucket.UploadFile(
100 return image_tools.DecodePNG(self.cloud_bucket.DownloadFile(full_path))
109 self.cloud_bucket.UpdateFile(full_path, image_tools.EncodePNG(image))
158 self.cloud_bucket.UploadFile(
193 expected_image_exists = self.cloud_bucket.FileExists(
195 mask_image_exists = self.cloud_bucket.FileExists(
209 actual_image_exists = self.cloud_bucket.FileExists(
212 info_exists = self.cloud_bucket.FileExists(
[all …]
Dmock_cloud_bucket.py11 import cloud_bucket
14 class MockCloudBucket(cloud_bucket.BaseCloudBucket):
38 raise cloud_bucket.FileNotFoundError
43 raise cloud_bucket.FileNotFoundError
60 raise cloud_bucket.FileNotFoundError
Dispy_utils_unittest.py10 import cloud_bucket
62 self.assertRaises(cloud_bucket.FileNotFoundError,
132 cloud_bucket.FileNotFoundError, self.ispy_utils.GetExpectation, 'test3')
188 self.assertRaises(cloud_bucket.FileNotFoundError,
/external/chromium_org/chrome/test/ispy/
Dispy_api_unittest.py12 from common import cloud_bucket
20 self.cloud_bucket = mock_cloud_bucket.MockCloudBucket()
21 self.ispy = ispy_api.ISpyApi(self.cloud_bucket)
47 versions = json.loads(self.cloud_bucket.DownloadFile('versions.json'))
54 cloud_bucket.FileNotFoundError,
60 versions = json.loads(self.cloud_bucket.DownloadFile('versions.json'))
Dispy_api.py11 from common import cloud_bucket
18 def __init__(self, cloud_bucket): argument
25 self._cloud_bucket = cloud_bucket
53 except cloud_bucket.FileNotFoundError:
/external/chromium_org/chrome/test/ispy/client/
Dboto_bucket.py18 from ispy.common import cloud_bucket
21 class BotoCloudBucket(cloud_bucket.BaseCloudBucket):
56 raise cloud_bucket.FileNotFoundError
64 raise cloud_bucket.FileNotFoundError
84 raise cloud_bucket.FileNotFoundError(path)
/external/chromium_org/chrome/test/ispy/server/
Dmain_view_handler.py77 ispy.cloud_bucket).CanRebaselineToTestRun(test_run)
108 res['info'] = json.loads(ispy.cloud_bucket.DownloadFile(
118 res['expected'] = ispy.cloud_bucket.GetImageURL(expected)
119 res['diff'] = ispy.cloud_bucket.GetImageURL(diff)
120 res['actual'] = ispy.cloud_bucket.GetImageURL(path)
Dgs_bucket.py11 from common import cloud_bucket
14 class GoogleCloudStorageBucket(cloud_bucket.BaseCloudBucket):
48 raise cloud_bucket.FileNotFoundError
Dimage_handler.py12 from common import cloud_bucket
34 except cloud_bucket.FileNotFoundError: