def test_reserve_model_ids_up_to(testbed):
    first, last = snippets.reserve_model_ids_up_to(5)
    assert last - first >= 4
示例#2
0
def test_reserve_model_ids_up_to(testbed):
    first, last = snippets.reserve_model_ids_up_to(5)
    if last - first < 4:
        raise AssertionError