Skip to content

Commit 655740c

Browse files
committed
Fix tests
1 parent a7ac7ce commit 655740c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/integration/test_config_handling.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717
from unittest import mock
1818

1919
import pytest
20-
import test_rp_custom_logging
2120
from delayed_assert import assert_expectations, expect
2221
from 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
2524
from tests import REPORT_PORTAL_SERVICE
2625
from tests.helpers import utils
2726
from 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

0 commit comments

Comments
 (0)