def test_init(self): """Test successful Dict Field initialization""" add_info = Auto() assert add_info is not None value = add_info._load(1) assert value == 1
def test_validation(self): """Test validation for the Auto Field""" add_info = Auto(required=True) add_info._load(None)