Skip audio tests if scikits.audiolab not installed
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Feb 2015 20:55:17 +0000 (14:55 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Feb 2015 20:55:17 +0000 (14:55 -0600)
mediagoblin/tests/test_audio.py

index 62d582ff343aff436b2b2c588c4c229e22898a2a..9826ceb1e0b6891d28b4c9ccca7de1afadaa0ee6 100644 (file)
@@ -25,6 +25,7 @@ import imghdr
 #os.environ['GST_DEBUG'] = '4,python:4'
 
 pytest.importorskip("gi.repository.Gst")
+pytest.importorskip("scikits.audiolab")
 import gi
 gi.require_version('Gst', '1.0')
 from gi.repository import Gst