Skip to content

Commit

Permalink
Updated Tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
SekouD committed Jun 19, 2018
1 parent dea3776 commit 7968809
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_mlconjug.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ def test_verbinfo(self):
verbiste = Verbiste(language=lang)
test_verb_info = verbiste.get_verb_info(TEST_VERBS[verbiste.language][0])
test_conjug_info = verbiste.get_conjug_info(TEST_VERBS[verbiste.language][1])
test_verb = VERBS[verbiste.language](test_verb_info, test_conjug_info)
assert isinstance(test_verb, VERBS[verbiste.language])
assert isinstance(test_verb.conjug_info, OrderedDict)
if test_verb_info:
test_verb = VERBS[verbiste.language](test_verb_info, test_conjug_info)
assert isinstance(test_verb, VERBS[verbiste.language])
assert isinstance(test_verb.conjug_info, OrderedDict)

def test_default_verb(self):
verbiste = Verbiste(language='default')
Expand Down

0 comments on commit 7968809

Please sign in to comment.