Searched refs:CloudStorageModuleStub (Results 1 – 2 of 2) sorted by relevance
20 stubs = {'cloud_storage': CloudStorageModuleStub,99 class CloudStorageModuleStub(object): class129 self.default_remote_paths = {CloudStorageModuleStub.INTERNAL_BUCKET:{},130 CloudStorageModuleStub.PARTNER_BUCKET:{},131 CloudStorageModuleStub.PUBLIC_BUCKET:{}}135 self.permission_level = CloudStorageModuleStub.INTERNAL_PERMISSION142 if bucket == CloudStorageModuleStub.PUBLIC_BUCKET:145 CloudStorageModuleStub.CREDENTIALS_ERROR_PERMISSION):146 raise CloudStorageModuleStub.CredentialsError()147 elif bucket == CloudStorageModuleStub.PARTNER_BUCKET:[all …]
20 self.cloud_storage = system_stub.CloudStorageModuleStub()