Skip to content

Commit

Permalink
Merge pull request #27 from pytest-dev/ArseniyAntonov/extend_emoji_test
Browse files Browse the repository at this point in the history
Update test_plugin.py
  • Loading branch information
LaserPhaser committed May 13, 2019
2 parents c3f47ac + bfd594d commit 95e6b29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ def test_icon_url():
'--slack_failed_emoji', slack_hook_icon_emoji_failed)

called_data = json.loads(mock_post.call_args[1]['data'])
emoji = called_data['icon_url']
url = called_data['icon_url']
emoji = called_data['icon_emoji']

assert emoji == expected_url
assert url == expected_url
assert emoji == None

0 comments on commit 95e6b29

Please sign in to comment.