def _make_attribute_test_cases():
 attribute_names = itertools.product(ID_ATTR_NAMES, CATEGORY_ATTR_NAMES, TARGET_ATTR_NAMES)
 for (id_attr, category_attr, target_attr) in attribute_names:
  (yield (AttributePair(id_attr, _random_string()), AttributePair(category_attr, _random_string()), AttributePair(target_attr, _random_string())))

def _make_attribute_test_cases ( ) : attribute_names = itertools . product ( ID_ATTR_NAMES , CATEGORY_ATTR_NAMES , TARGET_ATTR_NAMES ) for ( id_attr , category_attr , target_attr ) in attribute_names : ( yield ( AttributePair ( id_attr , _random_string ( ) ) , AttributePair ( category_attr , _random_string ( ) ) , AttributePair ( target_attr , _random_string ( ) ) ) )
builds test cases for attribute-dependent tests .