Anton Shestakov <av6@dwimlabs.net>, Wed, 30 May 2018 18:20:33 +0800
requirements: peewee 3.5.0
Moving +1 to select clause because "<query> + x" is now interpreted as "<query>
UNION ALL x".
Database.create_tables() now defaults to safe=True.
run-tests.py
Permissions: -rwxr-xr-x
from candolint.models import database, Project, Change, Check database.init(':memory:') database.create_tables([Project, Change, Check]) database.connect = Mock() sys.exit(pytest.main(['tests'] + sys.argv[1:])) if __name__ == '__main__':