From: vijeth-aradhya Date: Mon, 26 Jun 2017 19:34:55 +0000 (+0530) Subject: Fix test_accepted_resolutions X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fe40b02e7dd9741bcae2ace83c10d9f09af42d2c;p=mediagoblin.git Fix test_accepted_resolutions Add {'webm': (640, 640)} --- 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