comparison src/test/helpers.py @ 1037:6e975c6b0faf

core, memory, bridge, plugin misc_register_account: move registerNewAccount to a new plugin: - the bridge method has been removed, now a plugin takes care of it with XMLUI callback system - TODO: xmpp.RegisteringAuthenticator still needs to be fixed
author souliane <souliane@mailoo.org>
date Fri, 16 May 2014 00:58:20 +0200
parents 002ee8397208
children 020e663bc286
comparison
equal deleted inserted replaced
1036:35048cafb18d 1037:6e975c6b0faf
77 def delContact(self, to, profile_key): 77 def delContact(self, to, profile_key):
78 #TODO 78 #TODO
79 pass 79 pass
80 80
81 def registerCallback(self, callback, *args, **kwargs): 81 def registerCallback(self, callback, *args, **kwargs):
82 pass
83
84 def registerNewAccountCB(self, data, profile):
85 pass 82 pass
86 83
87 def sendMessage(self, to_s, msg, subject=None, mess_type='auto', extra={}, profile_key='@NONE@'): 84 def sendMessage(self, to_s, msg, subject=None, mess_type='auto', extra={}, profile_key='@NONE@'):
88 self.sendAndStoreMessage({"to": JID(to_s)}) 85 self.sendAndStoreMessage({"to": JID(to_s)})
89 86