Fix sporadically failing test
This commit is contained in:
parent
47c16b01ad
commit
f746b1043f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue