Anton Shestakov <av6@dwimlabs.net>, Wed, 31 Aug 2016 12:25:36 +0800
models: another gross hack^W^Wclever heuristic to pick HgwebAdapter
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__':