fix: Make other fieldnames in CSV also valid...

pull/1087/head
Raphaël Vinot 2023-10-24 16:01:46 +02:00
parent 8318bce57e
commit f38c56cf6d
1 changed files with 1 additions and 1 deletions

View File

@ -1842,7 +1842,7 @@ class TestComprehensive(unittest.TestCase):
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():