parameters: (self)
docstring: Returns movement group of a builder which was responsible for generating tested_property
docstring_summary: Returns movement group of a builder which was responsible for generating tested_property
docstring_tokens: Returns movement group of a builder which was responsible for generating tested_property
function: def getMovementGroup(self):
      """Returns movement group of a builder which was responsible for generating tested_property"""
      divergence_scope = getattr(self, 'divergence_scope', None)
      if divergence_scope is None:
        return []
      tested_property = getattr(self, 'tested_property', None)
      delivery = self.simulation_movement.getDeliveryValue().getParentValue()
      # XXX: assumes one builder used in delivery, will use BPM in future
      for builder in delivery.getBuilderList():
        for movement_group in builder.getMovementGroupList():
          if movement_group.getDivergenceScope() == divergence_scope:
            if tested_property is None or \
               tested_property in movement_group.getTestedPropertyList():
              return movement_group
function_tokens: def getMovementGroup ( self ) : divergence_scope = getattr ( self , 'divergence_scope' , None ) if divergence_scope is None : return [ ] tested_property = getattr ( self , 'tested_property' , None ) delivery = self . simulation_movement . getDeliveryValue ( ) . getParentValue ( ) # XXX: assumes one builder used in delivery, will use BPM in future for builder in delivery . getBuilderList ( ) : for movement_group in builder . getMovementGroupList ( ) : if movement_group . getDivergenceScope ( ) == divergence_scope : if tested_property is None or tested_property in movement_group . getTestedPropertyList ( ) : return movement_group