lint: fix some whitespace issues in new reactions code.

This commit is contained in:
Tim Abbott
2016-12-14 20:37:13 -08:00
parent 0329b67048
commit 0b33be50f3
2 changed files with 4 additions and 4 deletions

View File

@@ -612,8 +612,8 @@ class MessageDictTest(ZulipTestCase):
message=message, user_profile=sender, message=message, user_profile=sender,
emoji_name='simple_smile') emoji_name='simple_smile')
row = Message.get_raw_db_rows([message.id])[0] row = Message.get_raw_db_rows([message.id])[0]
msg_dict = MessageDict.build_dict_from_raw_db_row(row, msg_dict = MessageDict.build_dict_from_raw_db_row(
apply_markdown=True) row, apply_markdown=True)
self.assertEqual(msg_dict['reactions'][0]['emoji_name'], self.assertEqual(msg_dict['reactions'][0]['emoji_name'],
reaction.emoji_name) reaction.emoji_name)
self.assertEqual(msg_dict['reactions'][0]['user']['id'], self.assertEqual(msg_dict['reactions'][0]['user']['id'],