assertresponse.data==b'Incorrect file - File is not compatible with GarganText\n'
elif"malformed.csv"intest_file_copy:
assertresponse.data==b"Error while getting file delimiter.\n Can be the following : \n - File delimiter not found \n - Incorrect file delimiter, should be a tabulation \n - File is malformed\n"
elif"incorrectDelimiter.csv"intest_file_copy:
assertresponse.data==b"Error while getting file delimiter.\n Can be the following : \n - File delimiter not found \n - Incorrect file delimiter, should be a tabulation \n - File is malformed\n"
elif"incorrectHeader.csv"intest_file_copy:
assertb"Some column names were not found"inresponse.data
elif"incorrectExtension"intest_file_copy:
assertresponse.data==b"Incorrect file format or file format not found\n"