Skip to content

Commit 5916d7f

Browse files
committed
Fix tests
1 parent 82b1185 commit 5916d7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/test_plugin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def test_pytest_configure_dry_run(mocked_config):
9494
assert mocked_config._rp_enabled is False
9595

9696

97+
@mock.patch("pytest_reportportal.plugin.LOGGER", wraps=LOGGER)
9798
def test_pytest_configure_misssing_rp_endpoint(mocked_log, mocked_config):
9899
"""Test plugin configuration in case of missing rp_endpoint.
99100
@@ -116,6 +117,7 @@ def test_pytest_configure_misssing_rp_endpoint(mocked_log, mocked_config):
116117
)
117118

118119

120+
@mock.patch("pytest_reportportal.plugin.LOGGER", wraps=LOGGER)
119121
def test_pytest_configure_misssing_rp_project(mocked_log, mocked_config):
120122
"""Test plugin configuration in case of missing rp_project.
121123

0 commit comments

Comments
 (0)