Skip to content

Commit

Permalink
merge(#4208): #4210 from 4208-change-test_python_flaws
Browse files Browse the repository at this point in the history
Fix call to the python test from `test_dependencies.py`
  • Loading branch information
Rebits authored May 29, 2023
2 parents 4877670 + 4e8b27a commit a08fc85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:/wazuh/wazuh-qa/pull/4207)) (Tests)
- Fix test_dependencies.py for the changes in the feature. ([#4210](https:/wazuh/wazuh-qa/pull/4210)) (Tests)

## [4.4.3] - 25-06-2023

Expand Down
2 changes: 1 addition & 1 deletion tests/scans/dependencies/test_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit a08fc85

Please sign in to comment.