

def test_max_value_validation_serializer_success(self):
    serializer = ValidationMaxValueValidatorModelSerializer(data={
        'number_value': 99,
    })
    self.assertTrue(serializer.is_valid())

dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_validation.py TestMaxValueValidatorValidation.test_max_value_validation_serializer_success/original