def testmusicfile_getalbum(): print "Check: getalbum()" testFile = MusicFile("Queen", "Greatist Hits", 4, "Bicycle Race", "/tmp/test/derp.mp3") assert testFile.getalbum() == "Greatist Hits" or colored("\t[X] Failed: getAlbum() check", "red") print colored("\t[!] Success: getartist() check", "green")