aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_video.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/tests/test_video.py')
-rw-r--r--mediagoblin/tests/test_video.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_video.py b/mediagoblin/tests/test_video.py
index 03298b67..79244515 100644
--- 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