def test_default(self):
        field = serializers.IntegerField(default=123)
        output = field.run_validation()
        assert output is 123
If `default` is set, then omitted values get the default input.
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_fields.py/TestEmpty.test_default