#NEWLINE# def test_unregister_multisubscriber( self ) : #NEWLINE# #INDENT# ' Register and unregister a subscriber on a clean topic with a good msg type ' #NEWLINE# topic = '/test_unregister_multisubscriber' #NEWLINE# msg_type = 'std_msgs/String' #NEWLINE# self . assertFalse ( self . is_topic_subscribed ( self ) ) #NEWLINE# multi = MultiSubscriber ( topic , msg_type ) #NEWLINE# self . assertTrue ( self . is_topic_subscribed ( topic ) ) #NEWLINE# multi . unregister ( ) #NEWLINE# self . assertFalse ( self . is_topic_subscribed ( topic ) )