205:c1ff7500c753
Anton Shestakov <av6@dwimlabs.net>, Sat, 20 Aug 2016 10:10:40 +0800
viewer: show 30 latest checks on project page (was: 10) The page needs some "load more" buttons, but this'll do for now.

next change 228:f45f894eb706
previous change 128:a93fdb7416f0

run-tests.py

Permissions: -rwxr-xr-x

Other formats: Feeds:
#!/usr/bin/env python
import sys
import pytest
from mock import Mock
from candolint.models import database, Project, Change, Check
def main():
database.init(':memory:')
database.connect()
database.create_tables([Project, Change, Check], safe=True)
database.init = Mock()
database.connect = Mock()
database.close = Mock()
pytest.main(['tests'] + sys.argv[1:])
if __name__ == '__main__':
main()