Skip to content

Commit 799a1a4

Browse files
committed
Fix tests
1 parent 9382763 commit 799a1a4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pytest_reportportal/service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
except ImportError:
7575
Rule = type("dummy", (), {}) # Old pytest-bdd versions do not have Rule
7676

77-
from reportportal_client import RP, ClientType, OutputType, create_client
77+
from reportportal_client import RP, ClientType, create_client
7878
from reportportal_client.helpers import dict_to_payload, gen_attributes, get_launch_sys_attrs, get_package_version
7979

8080
LOGGER = logging.getLogger(__name__)
@@ -1431,7 +1431,7 @@ def start(self) -> None:
14311431
launch_uuid=launch_id,
14321432
log_batch_payload_limit=self._config.rp_log_batch_payload_limit,
14331433
launch_uuid_print=self._config.rp_launch_uuid_print,
1434-
print_output=self._config.rp_launch_uuid_print_output or OutputType.STDOUT,
1434+
print_output=self._config.rp_launch_uuid_print_output,
14351435
http_timeout=self._config.rp_http_timeout,
14361436
mode=self._config.rp_mode,
14371437
# OAuth 2.0 parameters

tests/unit/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def test_pytest_addoption_adds_correct_command_line_arguments():
296296
"--reportportal",
297297
"--rp-launch",
298298
"--rp-launch-id",
299-
"--rp_launch_uuid",
299+
"--rp-launch-uuid",
300300
"--rp-launch-description",
301301
"--rp-project",
302302
"--rp-log-level",

0 commit comments

Comments
 (0)