UAlbertaALTLab / morphodict

Plains Cree Intelligent Dictionary
https://itwewina.altlab.app/
Apache License 2.0
22 stars 11 forks source link

update test_avoids_cvd_search_if_query_looks_like_cree to check verbose output #1019

Closed dwhieb closed 2 years ago

dwhieb commented 2 years ago

The test test_avoids_cvd_search_if_query_looks_like_cree in model_test.py should check that the verbose output returns a message "Skipping CVD because query has too many hyphens", rather than checking for 0 search results.

The behavior on production is correct, but the test needs to be updated to reflect this.