Skip to content

Unit test for query posting #10

@sachalevy

Description

@sachalevy

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.

Metadata

Metadata

Assignees

Labels

testTesting related matters

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions