From eac8d189fc10189beacd378a0687b83d12e7e40a Mon Sep 17 00:00:00 2001 From: Telnoratti Date: Sat, 26 Apr 2014 00:27:34 -0400 Subject: [PATCH] Fixed the lastfm tests. --- modules/test/test_lastfm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/test/test_lastfm.py b/modules/test/test_lastfm.py index 4e5bb54..d7776c1 100644 --- a/modules/test/test_lastfm.py +++ b/modules/test/test_lastfm.py @@ -45,7 +45,7 @@ class TestLastfm(unittest.TestCase): out = self.phenny.say.call_args[0][0] 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) self.assertTrue(m) @@ -62,6 +62,6 @@ class TestLastfm(unittest.TestCase): out = self.phenny.say.call_args[0][0] 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) self.assertTrue(m)