

def test_get_child_tiers_for_tier(self):
    root_tiers = self._parser.get_root_tiers()
    phrase_tiers = self._parser.get_child_tiers_for_tier(root_tiers[0])
    assert (len(phrase_tiers) == 1)
    child_tiers = self._parser.get_child_tiers_for_tier(phrase_tiers[0])
    assert (len(child_tiers) == 2)
    ct_name_list = [a.name for a in child_tiers]
    assert (self._parser.tier_labels.tier_label(poioapi.data.TIER_WORD) in self)
    assert (self._parser.tier_labels.tier_label(poioapi.data.TIER_TRANSLATION) in ct_name_list)
    tier = poioapi.io.graf.Tier(poioapi.data.tier_labels[poioapi.data.TIER_WORD])
    child_tiers = self._parser.get_child_tiers_for_tier(tier)
    assert (len(child_tiers) == 1)
    assert (child_tiers[0].name == self._parser.tier_labels.tier_label(poioapi.data.TIER_MORPHEME))

dataset/ETHPy150Open cidles/poio-api/src/poioapi/tests/io/test_odin.py TestParser.test_get_child_tiers_for_tier/VarMisuse@97/157 `ct_name_list`->`self`