mirror of
https://github.com/allenai/olmocr.git
synced 2025-11-16 10:28:47 +00:00
Can uncomment some table tests that failed before
This commit is contained in:
parent
c4dcc4ded4
commit
a93c780b87
@ -922,14 +922,13 @@ consignatiediensten | 19816 | 1,0 | 6,0 | 2,8 | 1,2 |
|
|||||||
result, explanation = test.run(table)
|
result, explanation = test.run(table)
|
||||||
self.assertTrue(result, explanation)
|
self.assertTrue(result, explanation)
|
||||||
|
|
||||||
# TODO Skipping these for now
|
test = TableTest(pdf="test.pdf", page=1, id="test_id", type=TestType.TABLE.value, cell="Quarterly Sales ($000s)", down="Q2")
|
||||||
# test = TableTest(pdf="test.pdf", page=1, id="test_id", type=TestType.TABLE.value, cell="Quarterly Sales ($000s)", down="Q2")
|
result, explanation = test.run(table)
|
||||||
# result, explanation = test.run(table)
|
self.assertTrue(result, explanation)
|
||||||
# self.assertTrue(result, explanation)
|
|
||||||
|
|
||||||
# test = TableTest(pdf="test.pdf", page=1, id="test_id", type=TestType.TABLE.value, cell="Q2", up="Quarterly Sales ($000s)")
|
test = TableTest(pdf="test.pdf", page=1, id="test_id", type=TestType.TABLE.value, cell="Q2", up="Quarterly Sales ($000s)")
|
||||||
# result, explanation = test.run(table)
|
result, explanation = test.run(table)
|
||||||
# self.assertTrue(result, explanation)
|
self.assertTrue(result, explanation)
|
||||||
|
|
||||||
def test_multiple_markdown_tables(self):
|
def test_multiple_markdown_tables(self):
|
||||||
"""Test that we can find and verify cells in multiple markdown tables in one document"""
|
"""Test that we can find and verify cells in multiple markdown tables in one document"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user