def test_nlg_schema_validation_empty_image(): content = {"text": "Hey there!", "image": None} assert CallbackNaturalLanguageGenerator.validate_response(content)
def test_nlg_schema_validation(): content = {"text": "Hey there!"} assert CallbackNaturalLanguageGenerator.validate_response(content)
def test_nlg_schema_validation_empty_buttons(): content = {"text": "Hey there!", "buttons": []} assert CallbackNaturalLanguageGenerator.validate_response(content)
def test_nlg_schema_validation_empty_custom_dict(): content = {"custom": {}} assert CallbackNaturalLanguageGenerator.validate_response(content)