def test_register_infer_topictype(self):
        topic = "/test_register_infer_topictype"
        client = "client_test_register_infer_topictype"

        self.assertFalse(self.is_topic_published(topic))

        rospy.Publisher(topic, String)

        self.assertTrue(self.is_topic_published(topic))
        self.assertFalse(topic in manager._publishers)
        manager.register(client, topic)
        self.assertTrue(topic in manager._publishers)
        self.assertTrue(self.is_topic_published(topic))

        manager.unregister(client, topic)
        self.assertFalse(manager._publishers in topic)
        self.assertTrue(self.is_topic_published(topic))
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_library/test/internal/publishers/test_publisher_manager.py/TestPublisherManager.test_register_infer_topictype/swapped operands of `in`