File tree 2 files changed +1
-3
lines changed 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -521,8 +521,6 @@ def make_public(self, connection=None):
521
521
:param connection: Optional. The connection to use when sending
522
522
requests. If not provided, falls back to default.
523
523
"""
524
- if connection is None :
525
- connection = self .connection
526
524
self .acl .all ().grant_read ()
527
525
self .acl .save (connection = connection )
528
526
Original file line number Diff line number Diff line change @@ -729,7 +729,7 @@ def test_upload_from_string_w_text(self):
729
729
self .assertEqual (headers ['Content-Type' ], 'text/plain' )
730
730
self .assertEqual (rq [0 ]['body' ], ENCODED )
731
731
732
- def test_make_public (self ):
732
+ def test_make_public_w_implicit_ocnnection (self ):
733
733
from gcloud .storage .acl import _ACLEntity
734
734
from gcloud .storage ._testing import _monkey_defaults
735
735
BLOB_NAME = 'blob-name'
You can’t perform that action at this time.
0 commit comments