def test_public_url_with_non_ascii(self):
    blob_name = u'winter ☃'
    bucket = _Bucket()
    blob = self._make_one(blob_name, bucket=bucket)
    expected_url = 'https://storage.googleapis.com/name/winter%20%E2%98%83'
    self.assertEqual(blob.public_url, expected_url)
def test_public_url_with_non_ascii(self):
    blob_name = u'winter ☃'
    bucket = _Bucket()
    blob = self._make_one(blob_name, bucket=bucket)
    expected_url = 'https://storage.googleapis.com/name/winter%20%E2%98%83'
    self.assertEqual(blob.public_url, expected_url)