def testToRowUnclassifiedSuperfamily(self): mite = Mite("ABC", "4", "+", "132", "154", "gene1", "AA", "Unclassified", "3") csv_row_string = mite.to_csv_row() expected_string = "ABC,4,+,132,154,3,gene1,AA," self.assertEqual(expected_string, csv_row_string)
def testToRowNullCorrelatedGene(self): mite = Mite("ABC", "4", "+", "132", "154", "NULL", "AA", "A", "3") csv_row_string = mite.to_csv_row() expected_string = "ABC,4,+,132,154,3,,AA,A" self.assertEqual(expected_string, csv_row_string)