Skip to content

Conversation

@kkim-labelbox
Copy link
Contributor

In image_url pytest fixture, we were uploading an image with json content type and filename via client.upload_data, which is pretty illegal, and now being caught by the updates in the client file upload validation in the backend that @jakub-borowski introduced. This was causing the original picsum url to not work. We then attempted to use placeholder as an alternative to picsum, but that website seems to be a bit more unreliable. Reverting back to picsum, and setting the content type and filename properly in image_url fixture fixes the issue

@kkim-labelbox kkim-labelbox requested a review from jtsodapop August 6, 2022 02:55
@kkim-labelbox kkim-labelbox merged commit bb1adab into develop Aug 8, 2022
@jtsodapop jtsodapop deleted the kkim/image_url_fix branch September 14, 2022 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants