Merge pull request #53 from telnoratti/master

Fixed the lastfm tests.
master
mutantmonkey 2014-04-26 05:10:23 +00:00
commit b0edaf99a0
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class TestLastfm(unittest.TestCase):
out = self.phenny.say.call_args[0][0] out = self.phenny.say.call_args[0][0]
m = re.match("^{0}'s and {1}'s musical compatibility rating is .*"\ m = re.match("^{0}'s and {1}'s musical compatibility rating is .*"\
" and music they have in common includes: .*$". " they don't have any artists in common.$".
format(self.user1, self.user2), out, flags=re.UNICODE) format(self.user1, self.user2), out, flags=re.UNICODE)
self.assertTrue(m) self.assertTrue(m)
@ -62,6 +62,6 @@ class TestLastfm(unittest.TestCase):
out = self.phenny.say.call_args[0][0] out = self.phenny.say.call_args[0][0]
m = re.match("^{0}'s and {1}'s musical compatibility rating is .*"\ m = re.match("^{0}'s and {1}'s musical compatibility rating is .*"\
" and music they have in common includes: .*$". " they don't have any artists in common.$".
format(self.user1, self.user2), out, flags=re.UNICODE) format(self.user1, self.user2), out, flags=re.UNICODE)
self.assertTrue(m) self.assertTrue(m)