Skip to content
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

API Tests for Token Verification, Request Accuracy, Response Parsing, and Error Handling #1088

Open
saifrk opened this issue Nov 14, 2024 · 0 comments · May be fixed by #1089
Open

API Tests for Token Verification, Request Accuracy, Response Parsing, and Error Handling #1088

saifrk opened this issue Nov 14, 2024 · 0 comments · May be fixed by #1089
Assignees

Comments

@saifrk
Copy link
Collaborator

saifrk commented Nov 14, 2024

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

@saifrk saifrk self-assigned this Nov 14, 2024
saifrk pushed a commit that referenced this issue Nov 14, 2024
saifrk pushed a commit that referenced this issue Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant