make registry v2 tests pass for GCS

Fixes #509.
This commit is contained in:
Jimmy Zelinskie 2015-09-28 15:27:56 -04:00
parent d82dce9f38
commit c5aa3ca4f0
2 changed files with 5 additions and 0 deletions

View file

@ -444,6 +444,8 @@ class GoogleCloudStorage(_CloudStorage):
# TODO figure out how to handle cancel_on_error=False
key.set_contents_from_stream(fp)
return key.size
class RadosGWStorage(_CloudStorage):
def __init__(self, hostname, is_secure, storage_path, access_key, secret_key, bucket_name):