| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| image_request = client.connection._requested[0]['data']['requests'][0] | ||
| # json_dump = json.dumps(image_request['image']['content']) | ||
| # self.assertEqual(json_dump, self.B64_IMAGE_CONTENT) | ||
|
|
| class TestClient(unittest.TestCase): | ||
| import base64 | ||
| from google.cloud._helpers import _to_bytes | ||
| from google.cloud._helpers import _bytes_to_unicode |
|
@tseaver, I moved the imports and constants for the other test I updated for this. LMKWYT |
Sorry, something went wrong.
…2525 Properly encode image content.
| Back | FazBrowse Home | New Git URL |
Image content was not being properly encoded before being JSON serialized for the request.
Fixes #2525.