From aa07eb95518da255b739a2c6c19a06ca98b513c3 Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Tue, 21 Jan 2014 22:45:51 +0100 Subject: [PATCH] Load development beetsplug in tests See also a4b69767553ebc6c2447787ec9d0263050830f71 --- test/_common.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/_common.py b/test/_common.py index 10a0066e6..ac07a17bc 100644 --- a/test/_common.py +++ b/test/_common.py @@ -34,6 +34,11 @@ from beets import importer from beets.ui import commands import beets +# Make sure the development versions of the plugins are used +import beetsplug +beetsplug.__path__ = [ os.path.abspath( + os.path.join(__file__, '..', '..', 'beetsplug')) ] + # Test resources/sandbox path. RSRC = os.path.join(os.path.dirname(__file__), 'rsrc')