added tests skipping if there is no proper gstreamer
This commit is contained in:
parent
2d1e89055d
commit
fd365db43a
@ -24,7 +24,7 @@ import imghdr
|
||||
|
||||
#os.environ['GST_DEBUG'] = '4,python:4'
|
||||
|
||||
#TODO: this should be skipped if video plugin is not enabled
|
||||
pytest.importorskip("gi.repository.Gst")
|
||||
import gi
|
||||
gi.require_version('Gst', '1.0')
|
||||
from gi.repository import Gst
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user