#NEWLINE# def test_unregister_multipublisher( self ) : #NEWLINE# #INDENT# ' Register and unregister a publisher on a clean topic with a good msg type ' #NEWLINE# topic = '/test_unregister_multipublisher' #NEWLINE# msg_type = 'std_msgs/String' #NEWLINE# self . assertFalse ( self . is_topic_published ( topic ) ) #NEWLINE# multipublisher = MultiPublisher ( topic , msg_type ) #NEWLINE# self . assertTrue ( self . is_topic_published ( topic ) ) #NEWLINE# multipublisher . unregister ( ) #NEWLINE# self . assertFalse ( self . is_topic_published ( self ) )