openelections / clarify

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

Mock HTTP responses in tests #12

Closed ghing closed 10 years ago

ghing commented 10 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.