projects
/
mediagoblin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added tests skipping if there is no proper gstreamer
[mediagoblin.git]
/
mediagoblin
/
tests
/
test_video.py
diff --git
a/mediagoblin/tests/test_video.py
b/mediagoblin/tests/test_video.py
index 03298b67114f7bf4b31be1b0d3425387cfcb0791..79244515b84dca3316fe0c858aae490e779b6f5b 100644
(file)
--- a/
mediagoblin/tests/test_video.py
+++ b/
mediagoblin/tests/test_video.py
@@
-20,8
+20,9
@@
from contextlib import contextmanager
import imghdr
#os.environ['GST_DEBUG'] = '4,python:4'
+import pytest
+pytest.importorskip("gi.repository.Gst")
-#TODO: this should be skipped if video plugin is not enabled
import gi
gi.require_version('Gst', '1.0')
from gi.repository import Gst