#NEWLINE# def test_subclasses_of_existent_class_stress( self ) : #NEWLINE# #INDENT# subclasses_of_service = rospy . get_param ( 'rapp_knowrob_wrapper_subclasses_of_topic' ) #NEWLINE# rospy . wait_for_service ( subclasses_of_service ) #NEWLINE# test_service = rospy . ServiceProxy ( subclasses_of_service , ontologySubSuperClassesOfSrv ) #NEWLINE# for i in range ( 0 , 100 ) : #NEWLINE# #INDENT# req = ontologySubSuperClassesOfSrvRequest ( ) #NEWLINE# req . ontology_class = 'Oven' #NEWLINE# response = test_service ( req ) #NEWLINE# prefix = 'http://knowrob.org/kb/knowrob.owl#' #NEWLINE# self . assertEqual ( ( ( prefix + 'RegularOven' ) in subclasses_of_service . results ) , True ) #NEWLINE# self . assertEqual ( ( ( prefix + 'MicrowaveOven' ) in response . results ) , True ) #NEWLINE# self . assertEqual ( ( ( prefix + 'ToasterOven' ) in response . results ) , True )