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

Unit test for query posting #10

Open
sachalevy opened this issue May 28, 2022 · 0 comments
Open

Unit test for query posting #10

sachalevy opened this issue May 28, 2022 · 0 comments
Assignees
Labels
test Testing related matters

Comments

@sachalevy
Copy link
Member

sachalevy commented May 28, 2022

Clients running queries use utils functions that wrap up around sending HTTP streaming requests to the server and iterate over the received data. We need to include some tests for different events:

  • server stall (testing for time out implementation on the client-side)
  • erroneous response (from server)
  • unknown response (detected at client)
  • successfully retrieved result

Some reference about mocking HTTP requests in python: https://stackoverflow.com/a/28507806.

@sachalevy sachalevy self-assigned this May 28, 2022
@sachalevy sachalevy added the test Testing related matters label May 28, 2022
@sachalevy sachalevy assigned ilaffey2 and unassigned sachalevy May 28, 2022
This was referenced May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Testing related matters
Projects
None yet
Development

No branches or pull requests

2 participants