Skip to content

Commit

Permalink
Extraneous columnns expected in csv dictionary in test function are r…
Browse files Browse the repository at this point in the history
…emoved
  • Loading branch information
Vedant P Iyer committed Nov 15, 2024
1 parent d9cd059 commit 7fe1964
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dsi/plugins/tests/test_file_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def test_csv_plugin_adds_rows():
for key, val in plug.output_collector["Csv"].items():
assert len(val) == 4

# 11 Csv cols + 1 inherited FileReader cols
assert len(plug.output_collector["Csv"].keys()) == 12
# 11 Csv cols
assert len(plug.output_collector["Csv"].keys()) == 11

def test_csv_plugin_adds_rows_multiple_files():
path1 = '/'.join([get_git_root('.'), 'examples/data', 'wildfiredata.csv'])
Expand All @@ -69,8 +69,8 @@ def test_csv_plugin_adds_rows_multiple_files():
for key, val in plug.output_collector["Csv"].items():
assert len(val) == 8

# 13 Csv cols + 2 inherited FileReader cols
assert len(plug.output_collector["Csv"].keys()) == 15
# 13 Csv cols
assert len(plug.output_collector["Csv"].keys()) == 13

def test_csv_plugin_adds_rows_multiple_files_strict_mode():
path1 = '/'.join([get_git_root('.'), 'examples/data', 'wildfiredata.csv'])
Expand Down

0 comments on commit 7fe1964

Please sign in to comment.