-
Notifications
You must be signed in to change notification settings - Fork 1
Unit test for query posting #10
Copy link
Copy link
Open
Labels
testTesting related mattersTesting related matters
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testTesting related mattersTesting related matters