mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
.. 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:
parent
2db7699ed3
commit
7be77a99d9
9 changed files with 9 additions and 9 deletions
|
|
@ -17,7 +17,7 @@
|
|||
import unittest
|
||||
import sys
|
||||
|
||||
sys.path.append('..')
|
||||
sys.path.insert(0, '..')
|
||||
from beets.autotag import art
|
||||
|
||||
class MockHeaders(object):
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""
|
||||
|
||||
import unittest, sys, os, shutil, datetime
|
||||
sys.path.append('..')
|
||||
sys.path.insert(0, '..')
|
||||
import beets.mediafile
|
||||
|
||||
class EdgeTest(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ layer.
|
|||
"""
|
||||
|
||||
import unittest, sys, os, shutil, datetime
|
||||
sys.path.append('..')
|
||||
sys.path.insert(0, '..')
|
||||
import beets.mediafile
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
import unittest
|
||||
import sys
|
||||
sys.path.append('..')
|
||||
sys.path.insert(0, '..')
|
||||
from beetsplug import bpd
|
||||
|
||||
class FauxPathTest(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"""
|
||||
|
||||
import unittest, sys, os
|
||||
sys.path.append('..')
|
||||
sys.path.insert(0, '..')
|
||||
import beets.library
|
||||
import test_db
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue