Skip to content

chore: Add unit tests for the tool, client and protocol files #170

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

Merged
merged 11 commits into from
Apr 16, 2025

Conversation

anubhav756
Copy link
Contributor

@anubhav756 anubhav756 commented Apr 9, 2025

Name                              Stmts   Miss  Cover
-----------------------------------------------------
src/toolbox_core/__init__.py          3      0   100%
src/toolbox_core/client.py           50      0   100%
src/toolbox_core/protocol.py         32      0   100%
src/toolbox_core/tool.py             93      0   100%

This PR also adds a test dependency of pytest-cov.

Note

Unit test case coverage for sync counterparts will be added in a future PR.

@anubhav756 anubhav756 self-assigned this Apr 9, 2025
@anubhav756 anubhav756 requested a review from a team as a code owner April 9, 2025 13:50
@anubhav756 anubhav756 changed the title chore: Add unit tests for the tool and client classes chore: Add unit tests for the tool, client and protocol files Apr 9, 2025
@anubhav756
Copy link
Contributor Author

/gcbrun

@anubhav756 anubhav756 force-pushed the anubhav-tests branch 3 times, most recently from d11b5d4 to 7038c1d Compare April 10, 2025 06:27
@anubhav756 anubhav756 requested a review from twishabansal April 10, 2025 19:59
* feat: Add support for async token getters to ToolboxTool

* chore: Improve variable names and docstring for more clarity

* chore: Improve docstring

* chore: Add unit test cases

* chore: Add e2e test case

* chore: Fix e2e test case
@anubhav756 anubhav756 merged commit 14bc4ee into main Apr 16, 2025
14 checks passed
@anubhav756 anubhav756 deleted the anubhav-tests branch April 16, 2025 07:21
@release-please release-please bot mentioned this pull request Apr 16, 2025
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