pytroll / aggdraw

Python package wrapping AGG2 drawing functionality

Home Page:https://aggdraw.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert selftest.py to unit tests

djhoese opened this issue · comments

The tests that are run on the continuous integration environments and by developers to prove that nothing has been broken are all stored in the selftest.py script in the root of the repository. I would like these converted to using pytest or at least unittest. The module should probably be moved to a tests directory and if possible they should be added to setup.py as a test_suite so they can be run from CI as python setup.py test.

Forgot to close this. This has been implemented for some time.