openelections / clarify

Discover and parse results for jurisdictions that use Clarity-based election systems.
MIT License
38 stars 21 forks source link

Mock HTTP responses in tests #12

Closed ghing closed 9 years ago

ghing commented 9 years ago

To speed up tests and also be kind to the remote servers, test URL discovery by mocking the HTTP responses.

The patterns and packages described in Mocking Python Requests with Responses seem like a good start.