toloco / pyoanda

Oanda’s API python wrapper. Robust and Fast API wrapper for your Forex bot Python library that wraps Oanda API. Built on top of requests, it’s easy to use and makes sense.
http://oanda.com
MIT License
66 stars 24 forks source link

More robust HTTP call tests. #21

Closed elyobo closed 9 years ago

elyobo commented 9 years ago

Tests multiple successful and failed HTTP responses and mocks the responses, rather than mocking the response.ok method so as to use the real requests behaviour.

landscape-bot commented 9 years ago

Code Health Code quality remained the same when pulling a38f50a on elyobo:better-response-tests into 4edaa78 on toloco:master.