Unit test fix

pull/153/head
Frh 2020-04-22 14:25:03 -07:00
parent 356af846db
commit 549ab0ebe6
2 changed files with 4 additions and 1 deletions

View File

@ -1627,6 +1627,9 @@ data_stream_table_areas = [
["(each day of the payroll period)", ""], ["(each day of the payroll period)", ""],
] ]
# Hybrid doesn't recognize the footer as belonging to the table.
data_hybrid_table_regions = data_stream_table_areas[:-1]
data_stream_columns = [ data_stream_columns = [
[ [
"Clave", "Clave",

View File

@ -188,7 +188,7 @@ def test_hybrid_two_tables():
def test_hybrid_table_regions(): def test_hybrid_table_regions():
df = pd.DataFrame(data_stream_table_areas) df = pd.DataFrame(data_hybrid_table_regions)
filename = os.path.join(testdir, "tabula/us-007.pdf") filename = os.path.join(testdir, "tabula/us-007.pdf")
# The "stream" test looks for a region in ["320,460,573,335"], which # The "stream" test looks for a region in ["320,460,573,335"], which