@pytest.mark.parametrize('files', [('data/examples/rasa/demo-rasa.json', 'data/test/multiple_files_json'), ('data/examples/rasa/demo-rasa.md', 'data/test/multiple_files_markdown')])
def test_data_merging(files):
    td_reference = training_data.load_data(files[0])
    td = training_data.load_data(files[1])
    assert (len(td.entity_examples) == len(td_reference.entity_examples))
    assert (len(td.intent_examples) == len(td_reference.intent_examples))
    assert (len(td.training_examples) == len(td_reference.training_examples))
    assert (td.intents == td_reference.intents)
    assert (td.entities == td_reference.entities)
    assert (td.entity_synonyms == td_reference.entity_synonyms)
    assert (td.regex_features == td_reference.regex_features)
@pytest.mark.parametrize('files', [('data/examples/rasa/demo-rasa.json', 'data/test/multiple_files_json'), ('data/examples/rasa/demo-rasa.md', 'data/test/multiple_files_markdown')])
def test_data_merging(files):
    td_reference = training_data.load_data(files[0])
    td = training_data.load_data(files[1])
    assert (len(td.entity_examples) == len(td_reference.entity_examples))
    assert (len(td.intent_examples) == len(td_reference.intent_examples))
    assert (len(td.training_examples) == len(td_reference.training_examples))
    assert (td.intents == td_reference.intents)
    assert (td.entities == td_reference.entities)
    assert (td.entity_synonyms == td_reference.entity_synonyms)
    assert (td.regex_features == td_reference.regex_features)