#NEWLINE# def test_verify_type( self ) : #NEWLINE# #INDENT# topic = '/test_verify_type' #NEWLINE# msg_type = 'std_msgs/String' #NEWLINE# othertypes = [ 'geometry_msgs/Pose' , 'actionlib_msgs/GoalStatus' , 'geometry_msgs/WrenchStamped' , 'stereo_msgs/DisparityImage' , 'nav_msgs/OccupancyGrid' , 'geometry_msgs/Point32' , 'trajectory_msgs/JointTrajectoryPoint' , 'diagnostic_msgs/KeyValue' , 'visualization_msgs/InteractiveMarkerUpdate' , 'nav_msgs/GridCells' , 'sensor_msgs/PointCloud2' ] #NEWLINE# s = MultiSubscriber ( topic , msg_type ) #NEWLINE# s . verify_type ( msg_type ) #NEWLINE# for othertype in othertypes : #NEWLINE# #INDENT# self . assertRaises ( TypeConflictException , self . verify_type , othertype )