Anton Shestakov <av6@dwimlabs.net>, Thu, 11 Aug 2016 20:48:36 +0800
requirements: add coverage plugin for pytest to dev-requirements.txt
Not strictly required, but will be used for pipelines.
run-tests.py
Permissions: -rwxr-xr-x
from candolint.models import database, Project, Change, Check database.init(':memory:') database.create_tables([Project, Change, Check], safe=True) database.connect = Mock() pytest.main(['tests'] + sys.argv[1:]) if __name__ == '__main__':