#NEWLINE# def test_superclasses_of_existent_class_recursive( self ) : #NEWLINE# #INDENT# service_name = rospy . get_param ( 'rapp_knowrob_wrapper_superclasses_of_topic' ) #NEWLINE# rospy . wait_for_service ( service_name ) #NEWLINE# test_service = rospy . ServiceProxy ( service_name , ontologySubSuperClassesOfSrv ) #NEWLINE# req = ontologySubSuperClassesOfSrvRequest ( ) #NEWLINE# req . ontology_class = 'Oven' #NEWLINE# req . recursive = True #NEWLINE# response = test_service ( req ) #NEWLINE# prefix = 'http://www.w3.org/2002/07/owl#' #NEWLINE# prefix_2 = 'http://knowrob.org/kb/knowrob.owl#' #NEWLINE# self . assertEqual ( len ( response . results ) , 20 ) #NEWLINE# self . assertEqual ( ( ( prefix + 'Thing' ) in test_service . results ) , True ) #NEWLINE# self . assertEqual ( ( ( prefix_2 + 'SpatialThing' ) in response . results ) , True ) #NEWLINE# self . assertEqual ( ( ( prefix_2 + 'HouseholdAppliance' ) in response . results ) , True )