-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unittests for agent_upgrade
script
#12873
Merged
davidjiglesias
merged 3 commits into
feature/12811-add-unit-tests-for-cli
from
feature/12813-agent-upgrade-unittests
Apr 7, 2022
Merged
Add unittests for agent_upgrade
script
#12873
davidjiglesias
merged 3 commits into
feature/12811-add-unit-tests-for-cli
from
feature/12813-agent-upgrade-unittests
Apr 7, 2022
Conversation
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
Selutario
changed the base branch from
master
to
feature/12811-add-unit-tests-for-cli
March 28, 2022 09:01
Selutario
changed the title
Feature/12813 agent upgrade unittests
Add unittests for Mar 28, 2022
agent_upgrade
script
AdriiiPRodri
approved these changes
Mar 28, 2022
Selutario
force-pushed
the
feature/12813-agent-upgrade-unittests
branch
from
March 31, 2022 10:43
d48da5b
to
b78ec33
Compare
davidjiglesias
approved these changes
Apr 7, 2022
AdriiiPRodri
pushed a commit
that referenced
this pull request
Apr 29, 2022
* Add unittests for agent_upgrade module * Optimize imports * Use RBAC bypasser
AdriiiPRodri
pushed a commit
that referenced
this pull request
May 9, 2022
* Add unittests for agent_upgrade module * Optimize imports * Use RBAC bypasser
AdriiiPRodri
pushed a commit
that referenced
this pull request
May 11, 2022
* Add unittests for agent_upgrade module * Optimize imports * Use RBAC bypasser
AdriiiPRodri
pushed a commit
that referenced
this pull request
May 16, 2022
* Add unittests for agent_upgrade module * Optimize imports * Use RBAC bypasser
davidjiglesias
pushed a commit
that referenced
this pull request
May 17, 2022
* Add '__init__.py' * Change wazuh-logtest and wazuh-clusterd script names (#12926) * Change wazuh-clusterd and wazuh-logtest names * Add provisional name change for logtest and clusterd * Remove __init__ binary * Add 'wazuh-logtest' unittest (#13042) * Add unittests for wazuh_clusterd.py (#13027) * Refactor wazuh-clusterd code * Add wazuh_clusterd unittests * Improve DAPI unittest * Add unittests for `agent_upgrade` script (#12873) * Add unittests for agent_upgrade module * Optimize imports * Use RBAC bypasser * Add unittests for agent-groups script * Fix agent_upgrade CLI test * Remove unused mock * Fix test_wazuh_clusterd * Fixed bug caused by the chain execution of framework unit tests * Added a unittest for 'cluster_control.py' * Use the 'headers' variable * Fix unittests after agent-groups merge Co-authored-by: yanazaeva <yana.zaeva@wazuh.com> Co-authored-by: yanazaeva <67015786+yanazaeva@users.noreply.github.com> Co-authored-by: José Luis López Sánchez <joseluis.lopez@wazuh.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds unit tests for the
framework/scripts/agent_upgrade.py
module. Some changes were also applied on the module itself to achieve a higher coverage.Tests