def test_parse_sample_id_1(self): input = "F1W.3.Ce.003" expected = "flagstaff", "1", "wall", "3", "ceiling", "003", "1" self.assertEqual(parse_sample_id(input), expected)
def test_parse_sample_id(self): """Does this work when given correct input?""" input = "T3F.3.Ca.013" expected = ("toronto", "3", "floor", "3", "carpet", "013", "2") self.assertEqual(parse_sample_id(input), expected)