in utils/wheel_feeder.py [0:0]
def _validate_csv_file(self, csv_reader):
"""
Performs basic format validation of the CSV file.
:param csv_reader: CSV reader object
:type csv_reader: obj
"""
for row in csv_reader:
if len(row) != 2:
raise CSVRowNumberOfElementsMismatch(
f'Row: {row} is not valid.'
)
# Rewind the reader to the beginning of the file
self._csv_file.seek(0)