'By default `None` is not a valid input.'

def test_disallow_null(self):

    field = serializers.IntegerField()
    with pytest.raises(serializers.ValidationError) as exc_info:
        field.run_validation(None)
    assert (exc_info.value.detail == ['This    field    may    not    be    null.'])
