Skip to content

Commit

Permalink
Merge pull request #21 from davidchua/Cretezy-gif-test
Browse files Browse the repository at this point in the history
Update bot_test.py
  • Loading branch information
Cretezy authored Nov 1, 2016
2 parents c43942d + a6bdc8f commit 105497b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/bot_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ def test_image_url():
assert type(result) is dict
assert result.get('message_id') is not None
assert result.get('recipient_id') is not None

def test_image_gif_url():
image_url = 'https://media.giphy.com/media/rl0FOxdz7CcxO/giphy.gif'
result = bot.send_image_url(recipient_id, image_url)
assert type(result) is dict
assert result.get('message_id') is not None
assert result.get('recipient_id') is not None


def test_button_message():
Expand Down

0 comments on commit 105497b

Please sign in to comment.