def test_feedback_topic(self): topic = common.feedback_topic(TEST_UUID, scheduler_topic='xxx') self.assertEqual(topic, 'xxx_' + TEST_UUID_HEX)
def test_feedback_default_topic(self): self.assertEqual(common.feedback_topic(TEST_UUID), common.SCHEDULER_TOPIC + '_' + TEST_UUID_HEX)