Crypto-toolbox / bitex

Crypto-currency Exchange API Framework
MIT License
484 stars 136 forks source link

Switch from unittest to pytest #187

Closed deepbrook closed 4 years ago

firepol commented 6 years ago

When you switch to pytest it would be really nice if you add a few commented examples and link to them from the contributing page. I'd put particular emphasis on how to fake data. Maybe some responses can be copied / pasted from other libraries (not necessarily in python, many are in nodejs, but we can take json responses from any place as long as they are valid).

deepbrook commented 4 years ago

Refactored the entire test suite to use pytest. In regards to the examples on how to fake data, we'll use responses to supply an API fixture which will take care of faking the exchange interface.