Fix sporadically failing test

This commit is contained in:
Ivan Habunek 2023-03-08 14:04:27 +01:00
parent 47c16b01ad
commit f746b1043f
No known key found for this signature in database
GPG key ID: F5F0623FF5EBCB3D

View file

@ -319,7 +319,7 @@ def test_media_thumbnail(app, user, run):
assert media["preview_url"].endswith(".png") assert media["preview_url"].endswith(".png")
# Video properties # Video properties
assert media["meta"]["original"]["duration"] == 5.58 assert int(media["meta"]["original"]["duration"]) == 5
assert media["meta"]["original"]["height"] == 320 assert media["meta"]["original"]["height"] == 320
assert media["meta"]["original"]["width"] == 560 assert media["meta"]["original"]["width"] == 560