Try running with fakesink for gstreamer test.

This commit is contained in:
Thomas Adamcik 2012-09-05 01:26:05 +02:00
parent 4b1595ce97
commit 1255b87877

View File

@ -12,9 +12,13 @@ from tests import unittest, path_to_data_dir
class GStreamerTest(unittest.TestCase):
def setUp(self):
settings.BACKENDS = ('mopidy.backends.local.LocalBackend',)
settings.OUTPUT = 'fakesink'
self.song_uri = path_to_uri(path_to_data_dir('song1.wav'))
self.gstreamer = GStreamer()
def tearDown(self):
settings.runtime.clear()
def prepare_uri(self, uri):
self.gstreamer.prepare_change()
self.gstreamer.set_uri(uri)