Anton Shestakov <av6@dwimlabs.net>, Wed, 13 Jul 2016 00:02:04 +0800
models: don't count ids in Check.get_next_ordinal(), get current + 1 instead
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() pytest.main(['tests'] + sys.argv[1:]) if __name__ == '__main__':