'By default a field must be included in the input.'

def test_required(self):

    field = serializers.IntegerField()
    with pytest.raises(serializers.ValidationError) as exc_info:
        field.run_validation()
    assert (exc_info.value.detail == ['This    field    is    required.'])
