From 57798a27572bf2dc26b8278f65966011a5cb4096 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Wed, 15 Jan 2014 00:09:57 +0100 Subject: [PATCH] audio: Ensure tests can be run on their own --- tests/audio/test_scan.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/audio/test_scan.py b/tests/audio/test_scan.py index ed3f8e01..5753ecf3 100644 --- a/tests/audio/test_scan.py +++ b/tests/audio/test_scan.py @@ -3,6 +3,9 @@ from __future__ import unicode_literals import os import unittest +import gobject +gobject.threads_init() + from mopidy import exceptions from mopidy.audio import scan from mopidy.models import Track, Artist, Album