def test_public_url_w_slash_in_name(self):
    BLOB_NAME = 'parent/child'
    bucket = _Bucket()
    blob = self._make_one(BLOB_NAME, bucket=bucket)
    self.assertEqual(blob.public_url, 'https://storage.googleapis.com/name/parent%2Fchild')
def test_public_url_w_slash_in_name(self):
    BLOB_NAME = 'parent/child'
    bucket = _Bucket()
    blob = self._make_one(BLOB_NAME, bucket=bucket)
    self.assertEqual(blob.public_url, 'https://storage.googleapis.com/name/parent%2Fchild')