From 6112ee11884928d492c15010800e37cf58579555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Rebollo=20P=C3=A9rez?= Date: Mon, 20 Feb 2023 18:22:36 +0000 Subject: [PATCH] fix(#3969): bad variable name --- deps/wazuh_testing/wazuh_testing/tools/__init__.py | 2 +- tests/integration/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/wazuh_testing/wazuh_testing/tools/__init__.py b/deps/wazuh_testing/wazuh_testing/tools/__init__.py index b40e5d746d..51db9cfd8c 100644 --- a/deps/wazuh_testing/wazuh_testing/tools/__init__.py +++ b/deps/wazuh_testing/wazuh_testing/tools/__init__.py @@ -114,7 +114,7 @@ def get_service(): ], stderr=subprocess.PIPE).decode('utf-8').strip() service = 'wazuh-manager' if service == 'server' else 'wazuh-agent' except Exception: - service = '' + service = 'N/A' return service diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 0454b5fe7f..32a2f812d3 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -387,7 +387,7 @@ def pytest_configure(config): global_parameters.wpk_package_path = global_parameters.wpk_package_path # Set collect test mode - global_parameters.avoid_platform_based_deselection = config.getoption("--avoid_platform_based_deselection") + global_parameters.avoid_platform_based_deselection = config.getoption("--avoid-platform-based-deselection")