Skip to content

Commit

Permalink
fix: Make other fieldnames in CSV also valid...
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Oct 24, 2023
1 parent 8318bce commit f38c56c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testlive_comprehensive.py
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,7 @@ def test_csv_loader(self):
event.add_object(**o)

csv2 = CSVLoader(template_name='file', csv_path=Path('tests/csv_testfiles/invalid_fieldnames.csv'),
fieldnames=['SHA1', 'fileName', 'size-in-bytes'], has_fieldnames=True)
fieldnames=['sha1', 'filename', 'size-in-bytes'], has_fieldnames=True)
try:
first = self.user_misp_connector.add_event(event)
for o in csv2.load():
Expand Down

0 comments on commit f38c56c

Please sign in to comment.