Added testAlbumMbid, testAlbumId to test_album

This commit is contained in:
Andrea Grandi 2008-09-16 01:26:47 +00:00
parent 62a338a75b
commit 3fcf33f7c1
1 changed files with 8 additions and 0 deletions

View File

@ -26,5 +26,13 @@ class testAlbum(unittest.TestCase):
date = datetime.datetime(1994, 7, 28, 0, 0)
self.assertEqual(self.album_test.releaseDate, date)
def testAlbumMbid(self):
mbid = '2c2a24de-67b6-483b-b597-9c6b7891ba90'
self.assertEqual(self.album_test.mbid, mbid)
def testAlbumId(self):
id = 2038492
self.assertEqual(self.album_test.id, id)
if __name__ == '__main__':
unittest.main()