test_bugdown: Fix test for Twitter emoji.

Our work on the Twitter emoji added a new instance of our emoji syntax
between when we wrote 2d92f9dc0b and
rebase+merged it.
This commit is contained in:
Tim Abbott 2017-07-26 10:20:25 -07:00
parent 2e74dbf2d9
commit c9b2ef82c9
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ class BugdownTest(ZulipTestCase):
media_tweet_html = ('<a href="http://t.co/xo7pAhK6n3" target="_blank" title="http://t.co/xo7pAhK6n3">'
'http://twitter.com/NEVNBoston/status/421654515616849920/photo/1</a>')
emoji_in_tweet_html = """Zulip is <img alt=":hundred_points:" class="emoji" src="/static/generated/emoji/images/emoji/unicode/1f4af.png" title=":hundred_points:">% open-source!"""
emoji_in_tweet_html = """Zulip is <img alt=":hundred_points:" class="emoji" src="/static/generated/emoji/images/emoji/unicode/1f4af.png" title="hundred points">% open-source!"""
def make_inline_twitter_preview(url, tweet_html, image_html=''):
# type: (Text, Text, Text) -> Text