Skip to content

Commit

Permalink
fix/tests: tentative fix for an update of treetagger
Browse files Browse the repository at this point in the history
  • Loading branch information
wehlutyk committed May 23, 2017
1 parent 867894f commit ad55ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brainscopypaste/db_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ def test_quote(some_quotes):
assert session.query(Quote).filter_by(sid=4).one().cluster.sid == 4
assert session.query(Quote).filter_by(sid=6).one().cluster.sid == 1
assert session.query(Quote).filter_by(sid=6).one().tokens == \
('some', 'quote', 'to', 'tokenize', '6')
('some', 'quote', 'to', 'tokenize', '@card@')
assert session.query(Quote).filter_by(sid=6).one().tags == \
('DT', 'NN', 'TO', 'VV', 'CD')
assert session.query(Quote).filter_by(sid=6).one().lemmas == \
('some', 'quote', 'to', 'tokenize', '6')
('some', 'quote', 'to', 'tokenize', '@card@')

assert set([quote.sid for quote in
session.query(Cluster).filter_by(sid=3).one().quotes]) == \
Expand Down

0 comments on commit ad55ab9

Please sign in to comment.