made some changes in test_album to make it work from trunk/test dir

master
Abhinav Sarkar 2008-09-16 15:49:30 +00:00
parent 3fc75d3461
commit 2b02a84b87
1 changed files with 6 additions and 4 deletions

View File

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