From 64821d9beafbbba31bbe69c93c6ad30b3ebbfe18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Verdaguer=20Vel=C3=A1zquez?= Date: Mon, 29 May 2023 13:07:32 +0200 Subject: [PATCH 1/2] fix(#4208): Fix test call from test_dependencies --- tests/scans/dependencies/test_dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scans/dependencies/test_dependencies.py b/tests/scans/dependencies/test_dependencies.py index 915bb0c545..0db8932fef 100644 --- a/tests/scans/dependencies/test_dependencies.py +++ b/tests/scans/dependencies/test_dependencies.py @@ -17,7 +17,7 @@ def test_python_dependencies_vuln_scan(pytestconfig): Args: pytestconfig (fixture): Fixture that returns the :class:`_pytest.config.Config` object. """ - branch = pytestconfig.getoption('--branch') + branch = pytestconfig.getoption('--reference') repo = pytestconfig.getoption('--repo') requirements_path = pytestconfig.getoption('--requirements-path') report_path = pytestconfig.getoption('--report-path') From 4e8b27a1917affcf84068e64efc55899eb7cc609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Verdaguer=20Vel=C3=A1zquez?= Date: Mon, 29 May 2023 13:19:07 +0200 Subject: [PATCH 2/2] docs(#4208): Add the fix to the changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index acc7630970..3e888fb91e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. ### Feature - Change test_python_flaws.py to accept branch or commit in the same argument. ([#4209](https://github.com/wazuh/wazuh-qa/pull/4207)) (Tests) +- Fix test_dependencies.py for the changes in the feature. ([#4210](https://github.com/wazuh/wazuh-qa/pull/4210)) (Tests) ## [4.4.3] - 25-06-2023