Anton Shestakov <av6@dwimlabs.net>, Fri, 06 Oct 2017 16:24:27 +0800
viewer: no need to compare to True, fixes two E712 warnings as well
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__':