From fe40b02e7dd9741bcae2ace83c10d9f09af42d2c Mon Sep 17 00:00:00 2001 From: vijeth-aradhya Date: Tue, 27 Jun 2017 01:04:55 +0530 Subject: [PATCH] Fix test_accepted_resolutions Add {'webm': (640, 640)} --- mediagoblin/tests/test_video.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mediagoblin/tests/test_video.py b/mediagoblin/tests/test_video.py index 748c857f..0f477bfe 100644 --- a/mediagoblin/tests/test_video.py +++ b/mediagoblin/tests/test_video.py @@ -134,11 +134,12 @@ def test_transcoder(): def test_accepted_resolutions(): accepted_resolutions = { - '144p' : (256, 144), - '240p' : (352, 240), - '360p' : (480, 360), - '480p' : (858, 480), - '720p' : (1280, 720), - '1080p' : (1920, 1080), + '144p': (256, 144), + '240p': (352, 240), + '360p': (480, 360), + '480p': (858, 480), + '720p': (1280, 720), + '1080p': (1920, 1080), + 'webm': (640, 640), } assert accepted_resolutions == ACCEPTED_RESOLUTIONS -- 2.25.1