File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717from unittest import mock
1818
1919import pytest
20- import test_rp_custom_logging
2120from delayed_assert import assert_expectations , expect
2221from reportportal_client import OutputType
2322
24- from examples . test_rp_logging import LOG_MESSAGE
23+ from examples import test_rp_custom_logging , test_rp_logging
2524from tests import REPORT_PORTAL_SERVICE
2625from tests .helpers import utils
2726from tests .integration import setup_mock_for_logging
@@ -115,7 +114,7 @@ def test_rp_log_format(mock_client_init):
115114 expect (mock_client .log .call_count == 1 )
116115 message = mock_client .log .call_args_list [0 ][0 ][1 ]
117116 expect (len (message ) > 0 )
118- expect (message == f"(test_rp_logging) { LOG_MESSAGE } (test_rp_logging.py:24)" )
117+ expect (message == f"(test_rp_logging) { test_rp_logging . LOG_MESSAGE } (test_rp_logging.py:24)" )
119118 assert_expectations ()
120119
121120
You can’t perform that action at this time.
0 commit comments