made some changes in test_album to make it work from trunk/test dir
This commit is contained in:
parent
3fc75d3461
commit
2b02a84b87
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user