From a074d60c93c32ee2e36a39dcb141b998c89159da Mon Sep 17 00:00:00 2001 From: Artem Ryabkov Date: Tue, 8 Dec 2020 19:37:53 +0300 Subject: [PATCH] Fix for test --- tests/test_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 2eddd75..fc1a562 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -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,