示例#1
0
def test_parent_bulk_save_objects():
    Parent.bulk_save_objects([Parent(), Parent()])
    assert Parent.objects.count() == 2