-
Notifications
You must be signed in to change notification settings - Fork 58
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
Safe Connections Report unit tests #2515
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good in general, but the tests can be improved. It tests the size of the expected output, but apart from that it doesn't really validate the expected output. A good test would validate the output size, (some) content (and order if it matters).
For example, in test_safe_connections_report_multiple_finding_types
you could verify if the report indeed contains one of the OOI fixtures.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No more remarks
Changes
This PR creates unit tests for Safe Connections Report.
It also makes some changes in the report itself:
Issue link
Closes #2479
Code Checklist
Communication
.env
changes files if required and changed the.env-dist
accordingly.Checklist for code reviewers:
Copy-paste the checklist from the docs/source/templates folder into your comment.
Checklist for QA:
Copy-paste the checklist from the docs/source/templates folder into your comment.