Skip to content

Commit

Permalink
Make XBRL report years more lenient in extraction test to reflected n…
Browse files Browse the repository at this point in the history
…ew logic
  • Loading branch information
zschira committed Oct 26, 2023
1 parent 05e8921 commit 8fc0e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/etl_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,6 @@ def test_extract_xbrl(self, ferc1_engine_dbf):
for table_type, df in xbrl_tables.items():
# Some raw xbrl tables are empty
if not df.empty and table_type == "duration":
assert (df.report_year >= 2021).all() and (
assert (df.report_year >= 2020).all() and (
df.report_year < 2022
).all(), f"Unexpected years found in table: {table_name}"

0 comments on commit 8fc0e81

Please sign in to comment.