diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.py index ac664c8ab1..2d04645c17 100644 --- a/zerver/tests/test_events.py +++ b/zerver/tests/test_events.py @@ -2360,7 +2360,8 @@ class EventsRegisterTest(ZulipTestCase): stream = self.make_stream('old_name') new_name = u'stream with a brand new name' self.subscribe(self.user_profile, stream.name) - notification = '
King Hamlet renamed stream old_name to stream with a brand new name.
' + notification = 'King Hamlet renamed stream old_name to stream with a brand new name.
' + notification = notification.format(user_id=self.user_profile.id) action = lambda: do_rename_stream(stream, new_name, self.user_profile) events = self.do_test(action, num_events=3) schema_checker = self.check_events_dict([