Skip to content
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

Migrate test_rids documentation to qa-docs #2422

Merged
merged 3 commits into from
Jan 7, 2022

Conversation

roronoasins
Copy link

Related issue
Closes #1817

Description

As part of epic #1796, this PR adds the missing documentation and migrates the current documentation to the new format used by qa-docs.

The schema used is the one defined in issue #1694

Tests

  • Python codebase satisfies PEP-8 style style guide. pycodestyle --max-line-length=120 --show-source --show-pep8 file.py.
  • The qa-docs tool does not raise any error.

Luis Gonzalez added 2 commits December 30, 2021 16:16


The following tests have been documented:
- `test_rids.py`
- `test_rids_conf.py`
Double dots and quotes at the start of the line raise errors.
Comment on lines +23 to +24
daemons:
- wazuh-remoted
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add wazuh-agentd

Suggested change
daemons:
- wazuh-remoted
daemons:
- wazuh-remoted
- wazuh-agentd

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

93ae950 solves this

Comment on lines +23 to +24
daemons:
- wazuh-remoted
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add wazuh-agentd

Suggested change
daemons:
- wazuh-remoted
daemons:
- wazuh-remoted
- wazuh-agend

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

93ae950 solves this

Comment on lines 171 to 173
- configure_environment:
type: fixture
brief: Configure a custom environment for testing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a dot (.) at the end of the brief description.

Suggested change
- configure_environment:
type: fixture
brief: Configure a custom environment for testing
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

93ae950 solves this

Comment on lines 135 to 137
- configure_environment:
type: fixture
brief: Configure a custom environment for testing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a dot (.) at the end of the brief description.

Suggested change
- configure_environment:
type: fixture
brief: Configure a custom environment for testing
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

93ae950 solves this

Comment on lines 139 to 140
assertions:
- Verify that the RIDS configuration is applied correctly(or not)
Copy link
Contributor

@fedepacher fedepacher Jan 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a dot (.) at the end of the phrase.

Suggested change
assertions:
- Verify that the RIDS configuration is applied correctly(or not)
assertions:
- Verify that the RIDS configuration is applied correctly(or not).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

93ae950 solves this

Comment on lines 178 to 180
assertions:
- Verify that every agent rid is open
- Verify that every agent rid is closed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a dot (.) at the end of each assertions phrase.

Suggested change
assertions:
- Verify that every agent rid is open
- Verify that every agent rid is closed
assertions:
- Verify that every agent rid is open.
- Verify that every agent rid is closed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

93ae950 solves this

@roronoasins roronoasins requested a review from fedepacher January 3, 2022 12:57
Copy link
Contributor

@fedepacher fedepacher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snaow snaow merged commit f94e15f into master Jan 7, 2022
@snaow snaow deleted the 1817-qadocs-migrate-test-rids branch January 7, 2022 08:37
@snaow snaow mentioned this pull request Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

qa-docs: Migrate test_rids documentation to schema 2.0
3 participants