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

Vulnerability detector test module refactor: test_validate_feed_content #2628

Merged

Conversation

fedepacher
Copy link
Contributor

Related issue
#2599

Description

This PR adds changes and enhancements to the testing framework for vulnerability detector.

The changes made are as follows:

Added

  • Add testing module: test_validate_feed_content and data.

Improvements

  • Added a new structure to the test.
  • Refactor the test in order to get PASSED.

Tests

  • All vulnerability detector tests
  • test_download_feeds

Outputs

test_validate_feed_content
======================== test session starts =========================
platform linux -- Python 3.6.8, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
rootdir: /mnt/qa/tests/integration, configfile: pytest.ini
plugins: metadata-1.11.0, testinfra-5.0.0, html-3.1.1
collected 38 items                                                   

test_vulnerability_detector/test_feeds/test_validate_feed_content.py . [  2%]
.....................................                          [100%]

=================== 38 passed in 409.23s (0:06:49) ===================


@jmv74211 jmv74211 self-assigned this Mar 3, 2022
@jmv74211 jmv74211 merged commit ce0c94e into 2592-refactor-scan-types-and-feeds Mar 3, 2022
@jmv74211 jmv74211 deleted the 2599-test_validate_feed_content branch March 3, 2022 15:55
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.

2 participants