def test_arguments(self):
    self.assertEqual(self.cb_arg1, None)
    self.assertEqual(self.cb_arg2, None)
    dispatcher.subscribe('cbarg_sig', self.callback_args)
    dispatcher.publish('cbarg_sig', 'arg1', arg2='arg2')
    self.assertEqual(self.cb_arg1, 'arg1')
    self.assertEqual(self.cb_arg2, 'arg2')
def test_arguments(self):
    self.assertEqual(self.cb_arg1, None)
    self.assertEqual(self.cb_arg2, None)
    dispatcher.subscribe('cbarg_sig', self.callback_args)
    dispatcher.publish('cbarg_sig', 'arg1', arg2='arg2')
    self.assertEqual(self.cb_arg1, 'arg1')
    self.assertEqual(self.cb_arg2, 'arg2')