Searched refs:cloud_bucket (Results 1 – 9 of 9) sorted by relevance
69 def __init__(self, cloud_bucket): argument76 self.cloud_bucket = cloud_bucket85 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 …]
11 import cloud_bucket14 class MockCloudBucket(cloud_bucket.BaseCloudBucket):38 raise cloud_bucket.FileNotFoundError43 raise cloud_bucket.FileNotFoundError60 raise cloud_bucket.FileNotFoundError
10 import cloud_bucket62 self.assertRaises(cloud_bucket.FileNotFoundError,132 cloud_bucket.FileNotFoundError, self.ispy_utils.GetExpectation, 'test3')188 self.assertRaises(cloud_bucket.FileNotFoundError,
12 from common import cloud_bucket20 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'))
11 from common import cloud_bucket18 def __init__(self, cloud_bucket): argument25 self._cloud_bucket = cloud_bucket53 except cloud_bucket.FileNotFoundError:
18 from ispy.common import cloud_bucket21 class BotoCloudBucket(cloud_bucket.BaseCloudBucket):56 raise cloud_bucket.FileNotFoundError64 raise cloud_bucket.FileNotFoundError84 raise cloud_bucket.FileNotFoundError(path)
77 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)
11 from common import cloud_bucket14 class GoogleCloudStorageBucket(cloud_bucket.BaseCloudBucket):48 raise cloud_bucket.FileNotFoundError
12 from common import cloud_bucket34 except cloud_bucket.FileNotFoundError: