Load development beetsplug in tests

See also a4b6976755
This commit is contained in:
Thomas Scholtes 2014-01-21 22:45:51 +01:00
parent f7ff8e9f99
commit aa07eb9551

View file

@ -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')