diff options
| author | vijeth-aradhya <vijthaaa@gmail.com> | 2017-06-27 01:04:55 +0530 | 
|---|---|---|
| committer | vijeth-aradhya <vijthaaa@gmail.com> | 2017-06-27 01:04:55 +0530 | 
| commit | fe40b02e7dd9741bcae2ace83c10d9f09af42d2c (patch) | |
| tree | 68ee7b47ac1637da1c34733a99a6a9a4aa42ed3e | |
| parent | bd0b36be7916f756a701f29bb6b0aff8cb624f9c (diff) | |
| download | mediagoblin-fe40b02e7dd9741bcae2ace83c10d9f09af42d2c.tar.lz mediagoblin-fe40b02e7dd9741bcae2ace83c10d9f09af42d2c.tar.xz mediagoblin-fe40b02e7dd9741bcae2ace83c10d9f09af42d2c.zip | |
Fix test_accepted_resolutions
Add {'webm': (640, 640)}
| -rw-r--r-- | mediagoblin/tests/test_video.py | 13 | 
1 files 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 | 
