@pytest.mark.parametrize('invalid_data', [{'wrong_top_level': []}, ['this is not a toplevel dict'], {'rasa_nlu_data': {'common_examples': [{'intent': 'some example without text'}]}}, {'rasa_nlu_data': {'common_examples': [{'text': 'mytext', 'entities': [{'start': 'INVALID', 'end': 0, 'entity': 'x'}]}]}}])
def test_validation_is_throwing_exceptions(invalid_data):
    with pytest.raises(ValidationError):
        validate_rasa_nlu_data(invalid_data)
@pytest.mark.parametrize('invalid_data', [{'wrong_top_level': []}, ['this is not a toplevel dict'], {'rasa_nlu_data': {'common_examples': [{'intent': 'some example without text'}]}}, {'rasa_nlu_data': {'common_examples': [{'text': 'mytext', 'entities': [{'start': 'INVALID', 'end': 0, 'entity': 'x'}]}]}}])
def test_validation_is_throwing_exceptions(invalid_data):
    with pytest.raises(ValidationError):
        validate_rasa_nlu_data(invalid_data)