.. is now inserted at the beginning of sys.path so that local beets

files are used instead of installed ones
This commit is contained in:
wlof 2011-03-19 01:45:35 +01:00
parent 2db7699ed3
commit 7be77a99d9
9 changed files with 9 additions and 9 deletions

View file

@ -17,7 +17,7 @@
import unittest
import sys
sys.path.append('..')
sys.path.insert(0, '..')
from beets.autotag import art
class MockHeaders(object):

View file

@ -20,7 +20,7 @@ import sys
import os
import shutil
import re
sys.path.append('..')
sys.path.insert(0, '..')
from beets import autotag
from beets.library import Item

View file

@ -21,7 +21,7 @@ import os
import sqlite3
import ntpath
import posixpath
sys.path.append('..')
sys.path.insert(0, '..')
import beets.library
def lib(): return beets.library.Library('rsrc' + os.sep + 'test.blb')

View file

@ -21,7 +21,7 @@ import sys
import os
import stat
from os.path import join
sys.path.append('..')
sys.path.insert(0, '..')
import beets.library
from test_db import item

View file

@ -21,7 +21,7 @@ import time
import musicbrainz2.model
import musicbrainz2.webservice as mbws
import _common
sys.path.append('..')
sys.path.insert(0, '..')
from beets.autotag import mb
def nullfun(): pass

View file

@ -16,7 +16,7 @@
"""
import unittest, sys, os, shutil, datetime
sys.path.append('..')
sys.path.insert(0, '..')
import beets.mediafile
class EdgeTest(unittest.TestCase):

View file

@ -17,7 +17,7 @@ layer.
"""
import unittest, sys, os, shutil, datetime
sys.path.append('..')
sys.path.insert(0, '..')
import beets.mediafile

View file

@ -17,7 +17,7 @@
import unittest
import sys
sys.path.append('..')
sys.path.insert(0, '..')
from beetsplug import bpd
class FauxPathTest(unittest.TestCase):

View file

@ -16,7 +16,7 @@
"""
import unittest, sys, os
sys.path.append('..')
sys.path.insert(0, '..')
import beets.library
import test_db