diff --git a/modules/test/test_lastfm.py b/modules/test/test_lastfm.py index 568f5cf..52899e7 100644 --- a/modules/test/test_lastfm.py +++ b/modules/test/test_lastfm.py @@ -21,7 +21,7 @@ class TestLastfm(unittest.TestCase): now_playing(self.phenny, input) out = self.phenny.say.call_args[0][0] - m = re.match('^{0} .*$'.format(self.user1), out, flags=re.UNICODE) + m = re.match('^{0} listened to ".+" by .+ on .+ .*$'.format(self.user1), out, flags=re.UNICODE) self.assertTrue(m) def test_now_playing_sender(self): @@ -30,7 +30,7 @@ class TestLastfm(unittest.TestCase): now_playing(self.phenny, input) out = self.phenny.say.call_args[0][0] - m = re.match('^{0} .*$'.format(self.user1), out, flags=re.UNICODE) + m = re.match('^{0} listened to ".+" by .+ on .+ .*$'.format(self.user1), out, flags=re.UNICODE) self.assertTrue(m) def test_tasteometer(self):