3 Commits

Author SHA1 Message Date
Fabien C. Y. Benureau
c62d1c3c50
move test data from pickle to json 2018-08-09 19:51:40 +09:00
Fabien C. Y. Benureau
fdb6e5541d
Add explanation for how mock work. Fix pickle protocol error for Python 2.7. 2018-08-07 11:48:28 +09:00
Fabien C. Y. Benureau
bf1b4cd9d7
mock mode for test_apis
The mock system relies on the PUBS_TESTS_MODE environmental variable.
See the `tests/mock_requests.py` code for details.
By defaults, fast mock tests are used with data pre-fetched from real
calls.
2018-08-07 11:30:13 +09:00