-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge(#4208): from 4208-change-test_python_flawspy-to-accept-branch-o…
…r-commit-in-the-same-argument Change test_python_flaws.py arguments
- Loading branch information
Showing
3 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
DEFAULT_BRANCH = 'master' | ||
DEFAULT_REFERENCE = 'master' | ||
DEFAULT_REPOSITORY = 'wazuh' | ||
|
||
|
||
def pytest_addoption(parser): | ||
parser.addoption("--branch", action="store", default=DEFAULT_BRANCH, | ||
help=f"Set the repository used. Default: {DEFAULT_REPOSITORY}") | ||
parser.addoption("--reference", action="store", default=DEFAULT_REFERENCE, | ||
help=f"Set the reference used. Default: {DEFAULT_REPOSITORY}") | ||
parser.addoption("--repo", action="store", default=DEFAULT_REPOSITORY, | ||
help=f"Set the repository branch. Default: {DEFAULT_BRANCH}") | ||
parser.addoption("--commit", action="store", default=None, | ||
help=f"Set the repository commit. Default: None") | ||
help=f"Set the repository used. Default: {DEFAULT_REPOSITORY}") |