Unit test fix
parent
df3d28837d
commit
fab13ee5b8
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -182,7 +182,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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue