def test_unregister_multipublisher(self):
        topic = "/test_unregister_multipublisher"
        msg_type = "std_msgs/String"

        self.assertFalse(self.is_topic_published(topic))
        multipublisher = MultiPublisher(topic, msg_type)
        self.assertTrue(self.is_topic_published(topic))
        multipublisher.unregister()
        self.assertFalse(self.is_topic_published(topic))
Register and unregister a publisher on a clean topic with a good msg type
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_library/test/internal/publishers/test_multi_publisher.py/TestMultiPublisher.test_unregister_multipublisher