Skip to content

Conversation

@joao-faria-dev
Copy link
Contributor

@joao-faria-dev joao-faria-dev commented Nov 12, 2025

Description

Add tests for all the queries modules

Progress

  • build.py: 42% -> 100%
  • checkout.py: 31% -> 100%
  • hardware.py: 21% -> 100%
  • issues.py: 18% -> 99%
  • notifications.py: 17% -> 100%
  • test.py: 30% -> 100%
  • tree.py: 19% -> 100%

Related issue

Part of #1498

@joao-faria-dev joao-faria-dev force-pushed the 1498-add-tests-for-queries branch from cf57e99 to 18ca23c Compare November 12, 2025 03:20
@joao-faria-dev joao-faria-dev marked this pull request as ready for review November 13, 2025 20:57
@joao-faria-dev joao-faria-dev changed the title [WIP] add unit tests for query modules test(queries): add unit tests for query modules Nov 13, 2025
@joao-faria-dev
Copy link
Contributor Author

ready for review guys @MarceloRobert @gustavobtflores

@joao-faria-dev joao-faria-dev force-pushed the 1498-add-tests-for-queries branch 2 times, most recently from 617ec69 to e6a2391 Compare November 14, 2025 16:15
@MarceloRobert
Copy link
Collaborator

@joao-faria-dev there's still some pending comments for the issue queries tests

@joao-faria-dev joao-faria-dev force-pushed the 1498-add-tests-for-queries branch 5 times, most recently from db5be38 to f5661d0 Compare November 14, 2025 18:13
@MarceloRobert MarceloRobert added the CI/CD Most or all of the changes for this issue will be in in GitHub Actions label Nov 17, 2025
Copy link
Collaborator

@MarceloRobert MarceloRobert left a 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

@joao-faria-dev joao-faria-dev force-pushed the 1498-add-tests-for-queries branch 2 times, most recently from 3075dd5 to 36f9063 Compare November 17, 2025 19:31
- 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
@joao-faria-dev joao-faria-dev force-pushed the 1498-add-tests-for-queries branch from 36f9063 to 4ccf333 Compare November 17, 2025 19:38
Copy link
Collaborator

@MarceloRobert MarceloRobert left a comment

Choose a reason for hiding this comment

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

All good then

@MarceloRobert MarceloRobert added this pull request to the merge queue Nov 18, 2025
Merged via the queue into kernelci:main with commit 912255c Nov 18, 2025
7 checks passed
@MarceloRobert MarceloRobert mentioned this pull request Nov 18, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD Most or all of the changes for this issue will be in in GitHub Actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants