Skip to content

Commit

Permalink
fix data tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akelad committed Mar 23, 2020
1 parent 33cf997 commit 5537ebc
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions tests/core/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,48 +110,48 @@ def test_same_file_names_get_resolved(tmpdir):
[
(
"dialogflow",
{
[
"data/examples/dialogflow/agent.json",
"data/examples/dialogflow/entities/cuisine.json",
"data/examples/dialogflow/intents/affirm.json",
"data/examples/dialogflow/entities/location_entries_es.json",
"data/examples/dialogflow/intents/affirm_usersays_en.json",
"data/examples/dialogflow/intents/hi_usersays_es.json",
"data/examples/dialogflow/entities/cuisine_entries_en.json",
"data/examples/dialogflow/entities/cuisine_entries_es.json",
"data/examples/dialogflow/intents/inform_usersays_en.json",
"data/examples/dialogflow/intents/hi.json",
"data/examples/dialogflow/intents/goodbye_usersays_en.json",
"data/examples/dialogflow/agent.json",
"data/examples/dialogflow/intents/hi_usersays_en.json",
"data/examples/dialogflow/entities/location.json",
"data/examples/dialogflow/intents/affirm_usersays_es.json",
"data/examples/dialogflow/entities/cuisine_entries_en.json",
"data/examples/dialogflow/package.json",
"data/examples/dialogflow/entities/location_entries_en.json",
"data/examples/dialogflow/entities/location_entries_es.json",
"data/examples/dialogflow/intents/Default Fallback Intent.json",
"data/examples/dialogflow/intents/goodbye_usersays_es.json",
"data/examples/dialogflow/intents/affirm.json",
"data/examples/dialogflow/intents/affirm_usersays_en.json",
"data/examples/dialogflow/intents/affirm_usersays_es.json",
"data/examples/dialogflow/intents/goodbye.json",
"data/examples/dialogflow/entities/location_entries_en.json",
"data/examples/dialogflow/intents/goodbye_usersays_en.json",
"data/examples/dialogflow/intents/goodbye_usersays_es.json",
"data/examples/dialogflow/intents/hi.json",
"data/examples/dialogflow/intents/hi_usersays_en.json",
"data/examples/dialogflow/intents/hi_usersays_es.json",
"data/examples/dialogflow/intents/inform.json",
"data/examples/dialogflow/intents/inform_usersays_en.json",
"data/examples/dialogflow/intents/inform_usersays_es.json",
},
"data/examples/dialogflow/package.json",
],
),
(
"luis",
{
"data/examples/luis/demo-restaurants_v5.json",
"data/examples/luis/demo-restaurants_v4.json",
[
"data/examples/luis/demo-restaurants_v2.json",
},
"data/examples/luis/demo-restaurants_v4.json",
"data/examples/luis/demo-restaurants_v5.json",
],
),
(
"rasa",
{
[
"data/examples/rasa/demo-rasa-multi-intent.md",
"data/examples/rasa/demo-rasa-responses.md",
"data/examples/rasa/demo-rasa.json",
"data/examples/rasa/demo-rasa.md",
"data/examples/rasa/demo-rasa-responses.md",
"data/examples/rasa/demo-rasa-multi-intent.md",
},
],
),
("wit", {"data/examples/wit/demo-flights.json"}),
("wit", ["data/examples/wit/demo-flights.json"]),
],
)
def test_find_nlu_files_with_different_formats(test_input, expected):
Expand Down

0 comments on commit 5537ebc

Please sign in to comment.