projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd0b36b
)
Fix test_accepted_resolutions
author
vijeth-aradhya
<vijthaaa@gmail.com>
Mon, 26 Jun 2017 19:34:55 +0000
(
01:04
+0530)
committer
vijeth-aradhya
<vijthaaa@gmail.com>
Mon, 26 Jun 2017 19:34:55 +0000
(
01:04
+0530)
Add {'webm': (640, 640)}
mediagoblin/tests/test_video.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/tests/test_video.py
b/mediagoblin/tests/test_video.py
index 748c857f835e1acb3e8637f2733d1af86135772f..0f477bfe4219d758c774bf79653636f5dea1f5fd 100644
(file)
--- 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