Anton Shestakov <av6@dwimlabs.net>, Thu, 14 Sep 2017 17:17:58 +0800
requirements: pytest 3.2.2
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__':