def test_csv_ingestor_can_ingest_csv(): assert CSVIngestor.can_ingest('file.csv')
def test_csv_ingestor_can_ingest_non_csv(): assert not CSVIngestor.can_ingest('file.pdf')
def test_csv_ingestor__can_ingest__false(self): """Test CSV file ingestor, can_ingest function.""" result = CSVIngestor.can_ingest(TestQuoteEngine.quote_txt_file) self.assertEqual(result, False)