342:ef5986aad0ff
Anton Shestakov <av6@dwimlabs.net>, Thu, 31 May 2018 12:18:06 +0800
checker: move to the current LTS (Bionic) as the base image

previous change 339:641a6a8ee1b6

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])
database.init = Mock()
database.connect = Mock()
database.close = Mock()
sys.exit(pytest.main(['tests'] + sys.argv[1:]))
if __name__ == '__main__':
main()