#NEWLINE# def test_subclasses_of_non_existent_class_recursive( 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# req = ontologySubSuperClassesOfSrvRequest ( ) #NEWLINE# req . ontology_class = 'Podosfairo' #NEWLINE# req . recursive = True #NEWLINE# response = test_service ( req ) #NEWLINE# prefix = 'http://knowrob.org/kb/knowrob.owl#' #NEWLINE# self . assertEqual ( response . results , [ ] ) #NEWLINE# self . assertEqual ( response . success , False ) #NEWLINE# self . assertEqual ( response . error , 'Class: Podosfairo does not exist' )