318:1c0790b558b7
Anton Shestakov <av6@dwimlabs.net>, Sun, 15 Oct 2017 09:55:04 +0800
linters: add shellcheck (installed from repos), it's useful in some cases

next change 339:641a6a8ee1b6
previous change 228:f45f894eb706

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