Skip to content

Commit

Permalink
Fix for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Ryabkov committed Dec 8, 2020
1 parent bfbe53f commit a074d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_xpass():
telegram_report_url = 'http://report_link.com'
fail_sticker_id = 'CAACAgIAAxkBAAMIX8rohSxoNbodB1D38VZx9HI2CDwAAmIBAAIQGm0izcITZBkXtbceBA'
expected_text = 'Passed=1 Failed=1 Skipped=1 Error=1 XFailed=1 XPassed=1' \
'\nhttp://report_link.com'
'\nhttp://report_link.com\n'
with mock.patch('requests.post') as mock_post:
testdir.runpytest('--telegram_id', telegram_chat_id,
'--telegram_token', telegram_token,
Expand Down

0 comments on commit a074d60

Please sign in to comment.