Skip to content

Commit 012092b

Browse files
committed
Update tests
1 parent 1511e89 commit 012092b

File tree

7 files changed

+486
-652
lines changed

7 files changed

+486
-652
lines changed

test/data/educalingo_en_good.txt

Lines changed: 309 additions & 333 deletions
Large diffs are not rendered by default.

test/data/synonyms_en_bad.txt

Lines changed: 44 additions & 43 deletions
Large diffs are not rendered by default.

test/data/synonyms_en_good.txt

Lines changed: 44 additions & 43 deletions
Large diffs are not rendered by default.

test/data/synonyms_en_not-bad.txt

Lines changed: 44 additions & 43 deletions
Large diffs are not rendered by default.

test/data/thesaurus-for-this-reason.txt

Lines changed: 40 additions & 186 deletions
Large diffs are not rendered by default.

test/data/wordnet_en_good.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
12
<!DOCTYPE html
2-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
45
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
56
<head>
67
<title>WordNet Search - 3.1</title>

test/test_dictionary.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ def test_synonym(self) -> None:
165165
# Test thesaurus
166166
self.assertEqual(d.synonym('en', 'for this reason', DICT_THESAURUS),
167167
['accordingly', 'so', 'then', 'thus', 'consequently', 'hence', 'thence', 'and so',
168-
'ergo', 'for', 'forasmuch as', 'inasmuch as', 'in consequence', 'in that event',
168+
'ergo', 'for', 'forasmuch as', 'in consequence', 'in that event', 'inasmuch as',
169169
'on account of', 'on the grounds', 'since', 'therefrom', 'thereupon', 'to that end', 'whence',
170-
'wherefore'])
170+
'wherefore', 'therefore', 'on that account'])
171171

172172
# Synonyms
173173
syn = ['able', 'acceptable', 'accomplished', 'accurate', 'adept', 'adequate', 'admirable', 'adroit',

0 commit comments

Comments
 (0)