Commit 87ab579
committed
test(api_call): add unit tests for api call class
- Implement tests for initialization, node selection, and request
methods
- Cover error handling, parameter normalization, and retry logic
- Ensure proper behavior with nearest node and round-robin selection
- Test various HTTP methods (GET, POST, PUT, PATCH, DELETE)
- Ensure 99% code coverage on the test cases1 parent 96a02bc commit 87ab579
1 file changed
+482
-0
lines changed
0 commit comments