export: Fix emoji mentioned in tests to be correct.

This commit is contained in:
Alex Vandiver 2020-08-28 16:16:43 -07:00 committed by Tim Abbott
parent b23a55e669
commit 4d0ad41307
1 changed files with 2 additions and 2 deletions

View File

@ -441,7 +441,7 @@ class TestExport(ZulipTestCase):
realm = get_realm("zulip") realm = get_realm("zulip")
self.send_stream_message(self.example_user("othello"), "Verona", self.send_stream_message(self.example_user("othello"), "Verona",
topic_name="Export", topic_name="Export",
content="Thumbs up for export") content="Outbox emoji for export")
message = Message.objects.last() message = Message.objects.last()
do_add_reaction(self.example_user("iago"), message, "outbox", "1f4e4", Reaction.UNICODE_EMOJI) do_add_reaction(self.example_user("iago"), message, "outbox", "1f4e4", Reaction.UNICODE_EMOJI)
do_add_reaction(self.example_user("hamlet"), message, "outbox", "1f4e4", Reaction.UNICODE_EMOJI) do_add_reaction(self.example_user("hamlet"), message, "outbox", "1f4e4", Reaction.UNICODE_EMOJI)
@ -458,7 +458,7 @@ class TestExport(ZulipTestCase):
self.assertEqual(mock_print.mock_calls, [ self.assertEqual(mock_print.mock_calls, [
call('\033[94mExporting realm\033[0m: zulip'), call('\033[94mExporting realm\033[0m: zulip'),
call('\n\033[94mMessage content:\033[0m\nThumbs up for export\n'), call('\n\033[94mMessage content:\033[0m\nOutbox emoji for export\n'),
call('\033[94mNumber of users that reacted outbox:\033[0m 2 / 13 total users\n'), call('\033[94mNumber of users that reacted outbox:\033[0m 2 / 13 total users\n'),
]) ])