1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-22 07:01:46 +01:00

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")
# 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"]["width"] == 560