Skip to content

Commit

Permalink
Update language defs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Jun 11, 2024
1 parent ccf1206 commit 28786ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/unit/language/test_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ def test_get_language_def():
assert lang.right_to_left is False, "uses default"

expected = [
"terms; embeddedhtml; https://en.thefreedictionary.com/###; True; 1",
"terms; embeddedhtml; https://simple.wiktionary.org/wiki/###; True; 1",
"terms; popuphtml; https://www.collinsdictionary.com/dictionary/english/###; True; 2",
"sentences; popuphtml; https://www.deepl.com/translator#en/en/###; True; 3",
"terms; popuphtml; https://conjugator.reverso.net/conjugation-english-verb-###.html; True; 4",
]
actual = [
f"{ld.usefor}; {ld.dicttype}; {ld.dicturi}; {ld.is_active}; {ld.sort_order}"
Expand Down

0 comments on commit 28786ee

Please sign in to comment.