

def test_get_annotations_for_tier(self):
    root_annot = self._parser.get_annotations_for_tier(self._root_tier)
    utter = poioapi.io.graf.Tier(self._parser.tier_labels.tier_label(poioapi.data.TIER_UTTERANCE))
    utter_annots = self._parser.get_annotations_for_tier(utter, root_annot[0])
    assert (len(utter_annots) == 18)

dataset/ETHPy150Open cidles/poio-api/src/poioapi/tests/io/test_odin.py TestParser.test_get_annotations_for_tier/original