You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the last issue was reopened I decided to retest my backend and besides the cover thing it passes the tests except this assert: In test_upload, the self.assertEquals(file_data['type'], None) failed for me. My returned value was image/png which should be correct since a png was uploaded. I have a three step mime type finder. First I check via form metadata, then via Apache Tika and finally from file extension. I didn't test the official backend but I checked the network on the Try page and it does return the image type in JSON.
I think it shoud be self.assertEquals(file_data['type'], "image/png")
The text was updated successfully, but these errors were encountered:
Since the last issue was reopened I decided to retest my backend and besides the cover thing it passes the tests except this assert: In
test_upload
, theself.assertEquals(file_data['type'], None)
failed for me. My returned value wasimage/png
which should be correct since a png was uploaded. I have a three step mime type finder. First I check via form metadata, then via Apache Tika and finally from file extension. I didn't test the official backend but I checked the network on the Try page and it does return the image type in JSON.I think it shoud be
self.assertEquals(file_data['type'], "image/png")
The text was updated successfully, but these errors were encountered: