corrected import path

master
Abhinav Sarkar 2009-03-04 08:18:25 +00:00
parent bccc744fd0
commit b09a962838
6 changed files with 12 additions and 11 deletions

View File

@ -1,4 +1,5 @@
import test_album
import test_tag
import test_event
import test_artist
import test_artist
import test_geo

View File

@ -6,7 +6,7 @@ __license__ = "GNU Lesser General Public License"
import unittest
import datetime
import sys
import sys, os
from wsgi_intercept.urllib2_intercept import install_opener
import wsgi_intercept
@ -15,7 +15,7 @@ from wsgi_test_app import create_wsgi_app
install_opener()
wsgi_intercept.add_wsgi_intercept('ws.audioscrobbler.com', 80, create_wsgi_app)
sys.path.append("..")
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
from lastfm import Api
class TestAlbum(unittest.TestCase):

View File

@ -6,7 +6,7 @@ __license__ = "GNU Lesser General Public License"
import unittest
import datetime
import sys
import sys, os
from wsgi_intercept.urllib2_intercept import install_opener
import wsgi_intercept
@ -15,7 +15,7 @@ from wsgi_test_app import create_wsgi_app
install_opener()
wsgi_intercept.add_wsgi_intercept('ws.audioscrobbler.com', 80, create_wsgi_app)
sys.path.append("..")
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
from lastfm import Api
class TestArtist(unittest.TestCase):

View File

@ -6,7 +6,7 @@ __license__ = "GNU Lesser General Public License"
import unittest
import datetime
import sys
import sys, os
from wsgi_intercept.urllib2_intercept import install_opener
import wsgi_intercept
@ -15,7 +15,7 @@ from wsgi_test_app import create_wsgi_app
install_opener()
wsgi_intercept.add_wsgi_intercept('ws.audioscrobbler.com', 80, create_wsgi_app)
sys.path.append("..")
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
from lastfm import Api
class TestEvent(unittest.TestCase):

View File

@ -6,7 +6,7 @@ __license__ = "GNU Lesser General Public License"
import unittest
import datetime
import sys
import sys, os
from wsgi_intercept.urllib2_intercept import install_opener
import wsgi_intercept
@ -15,7 +15,7 @@ from wsgi_test_app import create_wsgi_app
install_opener()
wsgi_intercept.add_wsgi_intercept('ws.audioscrobbler.com', 80, create_wsgi_app)
sys.path.append("..")
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
from lastfm import Api
class TestGeo(unittest.TestCase):

View File

@ -6,7 +6,7 @@ __license__ = "GNU Lesser General Public License"
import unittest
import datetime
import sys
import sys, os
from wsgi_intercept.urllib2_intercept import install_opener
import wsgi_intercept
@ -15,7 +15,7 @@ from wsgi_test_app import create_wsgi_app
install_opener()
wsgi_intercept.add_wsgi_intercept('ws.audioscrobbler.com', 80, create_wsgi_app)
sys.path.append("..")
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
from lastfm import Api
class TestTag(unittest.TestCase):