Anton Shestakov <av6@dwimlabs.net>, Sat, 23 Sep 2017 12:53:04 +0800
models: "finished" was dropped from order by, so this index is not used
Index page still uses "finished" in order by, but it needs a different index.
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__':