testAddFeedsToWidget002: tests if self.config is updated correctly ... ok
tests if self.feeds is updated correctly ... ok
tests if self.config is updated correctly ... ok
testThumbnailer (ImageThumbnailer_test.ImageThumbnailerTest) ... ok
======================================================================
FAIL: testGetLyricsXML - Ensures the lyrics are fetched correctly
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/thomas/progs/entertainer/entertainer-0.1/src/tests/LyricsDownloader_test.py", line 45, in testGetLyricsXML
self.assertEqual(lyrics._get_lyrics_xml(), test_xml)
AssertionError: '<?xml version="1.0" encoding="utf-8"?><start><sg><cs>34806267c6</cs><id>11219</id><ar>Nirvana</ar><tt>On a Plain</tt><al>Nevermind</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &#169;THE END OF MUSIC[br]\n \n &#169;PRIMARY WAVE TUNES[br] [br] Lyrics delivered by lyricsfly.com [br]</tx></sg><sg><cs>cf475408d4</cs><id>330649</id><ar>Nirvana</ar><tt>On a Plain</tt><al>All Acoustically</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &#169;THE END OF MUSIC[br]\n \n &#169;PRIMARY WAVE TUNES[br] [br] Lyrics delivered by lyricsfly.com [br]</tx></sg><sg><cs>bdd277aa7d</cs><id>414748</id><ar>Nirvana</ar><tt>On a Plain</tt><al>MTV Unplugged in New York</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &#169;THE END OF MUSIC[br]\n \n &#169;PRIMARY WAVE TUNES[br] [br] Lyrics delivered by lyricsfly.com [br]</tx></sg></start>\t' != '<?xml version="1.0" encoding="utf-8"?><start><sg><cs>34806267c6</cs><id>11219</id><ar>Nirvana</ar><tt>On a Plain</tt><al>Nevermind</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &#169;THE END OF MUSIC[br]\n \n &#169;PRIMARY WAVE TUNES[br][br] Lyrics delivered by lyricsfly.com [br]</tx></sg><sg><cs>cf475408d4</cs><id>330649</id><ar>Nirvana</ar><tt>On a Plain</tt><al>All Acoustically</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &#169;THE END OF MUSIC[br]\n \n &#169;PRIMARY WAVE TUNES[br][br] Lyrics delivered by lyricsfly.com [br]</tx></sg><sg><cs>bdd277aa7d</cs><id>414748</id><ar>Nirvana</ar><tt>On a Plain</tt><al>MTV Unplugged in New York</al><tx>I\'ll start this off without any words[br]\nI got so high that I scratched \'til I bled[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe finest day that I\'ve ever had[br]\nWas when I learned to cry on command[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nMy mother died every night[br]\nIt\'s safe to say, don\'t quote me on that[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nThe black sheep got blackmailed again[br]\nForgot to put on the zip code[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\n[br]\n\nSomewhere I have heard this before[br]\nIn a dream my memory has stored[br]\nAs a defense I\'m neutered and spayed[br]\nWhat the hell am I trying to say?[br]\n[br]\n\nIt is now time to make it unclear[br]\nTo write off lines that don\'t make sense[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nAnd one more special message to go[br]\nAnd then I\'m done, then I can go home[br]\nI love myself better than you[br]\nI know it\'s wrong so what should I do?[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n\nI\'m on a plain[br]\nI can\'t complain[br]\nI\'m on a plain[br]\nI can\'t complain[br]\n[br]\n[br]\n\n\n\n \n &#169;THE END OF MUSIC[br]\n \n &#169;PRIMARY WAVE TUNES[br][br] Lyrics delivered by lyricsfly.com [br]</tx></sg></start>\t'
----------------------------------------------------------------------
Ran 163 tests in 9.692s
FAILED (failures=1)
make: *** [test] Error 1
what causes this error? I can not quite see what the problem is? can you guys help.
rgds
thomas