def test_one_receiver(self):
    self.assertEqual(self.cb1, 0)
    dispatcher.subscribe('cb1_sig', self.callback_1)
    dispatcher.publish('cb1_sig')
    self.assertEqual(self.cb1, 1)
def test_one_receiver(self):
    self.assertEqual(self.cb1, 0)
    dispatcher.subscribe('cb1_sig', self.callback_1)
    dispatcher.publish('cb1_sig')
    self.assertEqual(self.cb1, 1)