Anton Shestakov <av6@dwimlabs.net>, Wed, 30 May 2018 17:54:54 +0800
requirements: pytest 3.6.0
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() sys.exit(pytest.main(['tests'] + sys.argv[1:])) if __name__ == '__main__':