You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create and run a set of tests for the Api class to ensure it handles authentication, endpoint requests, and response parsing correctly. This includes verifying that each endpoint (query or SQL) uses the correct type of credentials (username/password or token), and behaves appropriately when tokens are missing. The tests should also cover error handling for cases such as missing tokens and unsuccessful requests.
Implementation Considerations
Deliverable
An api_tests.py file that can be executed to validate token verification, request accuracy, response parsing, and basic error handling for the API.
Dependencies
No response
The text was updated successfully, but these errors were encountered:
Description
Create and run a set of tests for the Api class to ensure it handles authentication, endpoint requests, and response parsing correctly. This includes verifying that each endpoint (query or SQL) uses the correct type of credentials (username/password or token), and behaves appropriately when tokens are missing. The tests should also cover error handling for cases such as missing tokens and unsuccessful requests.
Implementation Considerations
Deliverable
An api_tests.py file that can be executed to validate token verification, request accuracy, response parsing, and basic error handling for the API.
Dependencies
No response
The text was updated successfully, but these errors were encountered: