Commit e40abfc5 authored by aiolos's avatar aiolos Committed by Commit bot

Update cloud_storage_stub to handle buckets other than the 3 telemetry defaults.

BUG=467260

Review URL: https://codereview.chromium.org/1053423002

Cr-Commit-Position: refs/heads/master@{#324090}
parent 475949d9
......@@ -205,7 +205,7 @@ class CloudStorageModuleStub(object):
elif bucket == CloudStorageModuleStub.INTERNAL_BUCKET:
if self.permission_level < CloudStorageModuleStub.INTERNAL_PERMISSION:
raise CloudStorageModuleStub.PermissionError()
else:
elif bucket not in self.remote_paths:
raise CloudStorageModuleStub.NotFoundError()
def SetRemotePathsForTesting(self, remote_path_dict=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment