Example #1
0
 def test_handle_roster_push_is_decorated(self):
     self.assertTrue(
         service.is_iq_handler(
             structs.IQType.SET,
             roster_xso.Query,
             roster_service.RosterClient.handle_roster_push,
         ))
Example #2
0
 def test_handle_roster_push_is_decorated(self):
     self.assertTrue(
         service.is_iq_handler(
             structs.IQType.SET,
             roster_xso.Query,
             roster_service.RosterClient.handle_roster_push,
         )
     )
Example #3
0
 def test_handle_unblock_push_is_iq_handler(self):
     service.is_iq_handler(aioxmpp.IQType.SET, blocking_xso.UnblockCommand,
                           self.s.handle_unblock_push)
Example #4
0
 def test_handle_unblock_push_is_iq_handler(self):
     service.is_iq_handler(aioxmpp.IQType.SET,
                           blocking_xso.UnblockCommand,
                           self.s.handle_unblock_push)