File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1717from unittest import mock
1818
1919import pytest
20-
2120from delayed_assert import expect , assert_expectations
2221from reportportal_client import OutputType
2322
@@ -86,7 +85,7 @@ def test_rp_parent_item_id_and_rp_launch_id(mock_requests_init):
8685 variables ['rp_parent_item_id' ] = parent_id
8786 variables ['rp_launch_id' ] = TEST_LAUNCH_ID
8887 variables .update (utils .DEFAULT_VARIABLES .items ())
89- result = utils .run_pytest_tests (tests = ['examples/test_simple.py' ],variables = variables )
88+ result = utils .run_pytest_tests (tests = ['examples/test_simple.py' ], variables = variables )
9089 assert int (result ) == 0 , 'Exit code should be 0 (no errors)'
9190
9291 mock_requests = mock_requests_init .return_value
@@ -96,7 +95,6 @@ def test_rp_parent_item_id_and_rp_launch_id(mock_requests_init):
9695 assert item_start [1 ]['json' ]['launchUuid' ] == TEST_LAUNCH_ID
9796
9897
99-
10098@mock .patch (REPORT_PORTAL_SERVICE )
10199def test_rp_log_format (mock_client_init ):
102100 log_format = '(%(name)s) %(message)s (%(filename)s:%(lineno)s)'
You can’t perform that action at this time.
0 commit comments