-
Notifications
You must be signed in to change notification settings - Fork 20
test(queries): add unit tests for query modules #1609
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
test(queries): add unit tests for query modules #1609
Conversation
cf57e99 to
18ca23c
Compare
|
ready for review guys @MarceloRobert @gustavobtflores |
backend/kernelCI_app/tests/unitTests/queries/hardware_queries_test.py
Outdated
Show resolved
Hide resolved
backend/kernelCI_app/tests/unitTests/queries/notifications_test.py
Outdated
Show resolved
Hide resolved
617ec69 to
e6a2391
Compare
|
@joao-faria-dev there's still some pending comments for the issue queries tests |
db5be38 to
f5661d0
Compare
MarceloRobert
left a comment
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.
Still some unused vars, they could be used in some assert like assert_called_once() just to not let them go unused. But considering the overall PR, this is minimal so I'll approve
3075dd5 to
36f9063
Compare
- Add tests for build, checkout, issues and test query modules Part of kernelci#1498
- Add tests for hardware, notifications and tree modules Closes kernelci#1498
36f9063 to
4ccf333
Compare
MarceloRobert
left a comment
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.
All good then
Description
Add tests for all the queries modules
Progress
Related issue
Part of #1498