Anton Shestakov <av6@dwimlabs.net>, Sat, 16 Jul 2016 19:05:11 +0800
viewer: request light fields when using just metadata from Check
/ and project pages just link to checks, so the heavier text fields like
Check.lines aren't actually important, and can be excluded from SELECT for a
nice performance boost.
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__':