def test_negatives(self): for fp in self.negatives: self.assertEqual(_fastq_sniffer(fp), (False, {}))
def test_positives(self): for fp in self.positives: self.assertEqual(_fastq_sniffer(fp), (True, {}))
def test_illumina_sniffed(self): fp = get_data_path('fastq_single_seq_illumina1.8') self.assertEqual(_fastq_sniffer(fp), (True, {'variant': 'illumina1.8'}))