systemcatch / eiapy

A simple wrapper for the U.S. Energy Information Administration API
https://pypi.org/project/eiapy/
MIT License
23 stars 8 forks source link

Investigate the value of tests and new build system #13

Closed systemcatch closed 4 years ago

systemcatch commented 5 years ago

I don't know much about testing API wrappers, need to see whether there's any value making tests for this package.

useful links to get started; https://www.reddit.com/r/learnpython/comments/1pq8ms/how_do_you_write_unit_tests_mocks_for_an_api/ https://www.codeproject.com/Articles/1068420/%2fArticles%2f1068420%2fA-Python-wrapper-for-the-CodeProject-API https://github.com/bear/python-twitter/tree/master/tests

systemcatch commented 4 years ago

There might be some value in using tox to build for various versions of python.

systemcatch commented 4 years ago

No value in tests at this point but I've setup tox.