code: def get_allure_suites(longname):
      
      labels = []
      suites = longname.split('.')
      if len(suites) > 3:
          labels.append(Label(LabelType.PARENT_SUITE, suites.pop(0)))
      labels.append(Label(LabelType.SUITE, suites.pop(0)))
      if len(suites) > 1:
          labels.append(Label(LabelType.SUB_SUITE, '.'.join(suites[:-1])))
      return labels
docs: >>> get_allure_suites('Suite1.Test')
      [Label(name='suite', value='Suite1')]
      >>> get_allure_suites('Suite1.Suite2.Test') # doctest: +NORMALIZE_WHITESPACE
      [Label(name='suite', value='Suite1'), Label(name='subSuite', value='Suite2')]
      >>> get_allure_suites('Suite1.Suite2.Suite3.Test') # doctest: +NORMALIZE_WHITESPACE
      [Label(name='parentSuite', value='Suite1'),
      Label(name='suite', value='Suite2'),
      Label(name='subSuite', value='Suite3')]