Skip to content

Commit

Permalink
remove markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
inassjunus committed Jun 5, 2016
1 parent b83aec8 commit e3af969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ def __init__(self):

mock_lookup_slang.assert_called_once_with(slang_word)
fake_bot.reply_to.assert_called_once_with(fake_message,
slang_lookup_result,
parse_mode="Markdown")
slang_lookup_result)


def test_slang_with_bot_name(fake_message, fake_user, mocker):
Expand All @@ -177,8 +176,7 @@ def __init__(self):

mock_lookup_slang.assert_called_once_with(slang_word)
fake_bot.reply_to.assert_called_once_with(fake_message,
slang_lookup_result,
parse_mode="Markdown")
slang_lookup_result)


def test_slang_no_word(fake_message, fake_user, mocker):
Expand Down
2 changes: 1 addition & 1 deletion tululbot/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def slang(message):
return bot.reply_to(message, 'Apa yang mau dicari jir?', force_reply=True)
else:
slang_definition = lookup_slang(word)
return bot.reply_to(message, slang_definition, parse_mode="Markdown")
return bot.reply_to(message, slang_definition)


@bot.message_handler(commands=['hotline'])
Expand Down

0 comments on commit e3af969

Please sign in to comment.