def warning(request, message, extra_tags='', fail_silently=False):
    add_message(request, constants.WARNING, message, extra_tags=extra_tags,
                fail_silently=fail_silently)
Ensure that valid values return the expected validated data.
dataset/ETHPy150Open CiscoSystems/avos/horizon/messages.py/warning--crossover with--dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_fields.py/FieldValues.test_valid_inputs