From 2b02a84b87f984dbda066141871f314cef3de313 Mon Sep 17 00:00:00 2001 From: Abhinav Sarkar Date: Tue, 16 Sep 2008 15:49:30 +0000 Subject: [PATCH] made some changes in test_album to make it work from trunk/test dir --- test/test_album.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/test_album.py b/test/test_album.py index bdfbce8..6edaafd 100644 --- a/test/test_album.py +++ b/test/test_album.py @@ -1,15 +1,17 @@ import unittest import datetime -import api -import album +import sys +sys.path.append("..") + +from src import Api apikey = "152a230561e72192b8b0f3e42362c6ff" -class testAlbum(unittest.TestCase): +class TestAlbum(unittest.TestCase): """ A test class for the Album module. """ def setUp(self): - self.api_test = api.Api(apikey) + self.api_test = Api(apikey) self.album_test = self.api_test.getAlbum("Oasis", "Supersonic") def testAlbumName(self):