Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Feb 8, 2024
1 parent 93bc8ec commit 93404c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_grobid_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_get_xml_nodes_header_paragraphs():

children = get_xml_nodes_header(soup)

assert len(children) == 8
assert sum([len(child) for k, child in children.items()]) == 8


def test_get_xml_nodes_header_sentences():
Expand All @@ -47,4 +47,4 @@ def test_get_xml_nodes_header_sentences():

children = get_xml_nodes_header(soup, use_paragraphs=False)

assert len(children) == 15
assert sum([len(child) for k, child in children.items()]) == 15

0 comments on commit 93404c2

Please sign in to comment.