Commit 91f08d2
Fix: Use literal URL in test_upload_image_asset.py success test
This commit corrects an AttributeError in the `test_main_success` method
of `examples/misc/tests/test_upload_image_asset.py`.
The test was attempting to assert the call to
`get_image_bytes_from_url` using `upload_image_asset.IMAGE_URL`,
but `IMAGE_URL` is not defined as a module-level constant in the
script. The script `upload_image_asset.py` uses a hardcoded URL string
directly within its `main` function.
The assertion has been updated to use the correct literal URL string:
`"https://gaagl.page.link/Eit5"`.1 parent b8f3e5f commit 91f08d2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments