Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb30 committed Jul 19, 2016
1 parent 312a4b4 commit f4ca89e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions petrarch2/tests/test_petrarch.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def test_simple():
dict = {u'test123': {u'sents': {u'0': {u'content': text, u'parsed': parsed}},
u'meta': {u'date': u'20010101'}}}

return_dict = petrarch2.do_coding(dict,None)
return_dict = petrarch2.do_coding(dict)
print(return_dict)
assert return_dict['test123']['sents']['0']['events'] == [('DEU','FRA','192')]

Expand All @@ -179,7 +179,7 @@ def test_simple2():
dict = {u'test123': {u'sents': {u'0': {u'content': text, u'parsed': parsed}},
u'meta': {u'date': u'20010101'}}}

return_dict = petrarch2.do_coding(dict,None)
return_dict = petrarch2.do_coding(dict)
print(return_dict)
assert return_dict['test123']['sents']['0']['events'] == [('DEU','FRA','173')]

Expand Down Expand Up @@ -211,7 +211,7 @@ def test_complex1():

dict = {u'test123': {u'sents': {u'0': {u'content': text, u'parsed': parsed}},
u'meta': {u'date': u'20010101'}}}
return_dict = petrarch2.do_coding(dict,None)
return_dict = petrarch2.do_coding(dict)
print(return_dict)
assert return_dict['test123']['sents']['0']['events'] == [('TUNJUD','NGAEDU','173')]

Expand Down

0 comments on commit f4ca89e

Please sign in to comment.