Remove more Gmail things
This commit is contained in:
parent
a378152a9c
commit
84060484c4
|
@ -2192,10 +2192,6 @@ ConnectionHandlersBase, ConnectionJingle, ConnectionIBBytestream):
|
|||
con.RegisterHandler('iq', self._HttpAuthCB, 'get', nbxmpp.NS_HTTP_AUTH)
|
||||
con.RegisterHandler('iq', self._CommandExecuteCB, 'set',
|
||||
nbxmpp.NS_COMMANDS)
|
||||
con.RegisterHandler('iq', self._gMailNewMailCB, 'set',
|
||||
nbxmpp.NS_GMAILNOTIFY)
|
||||
con.RegisterHandler('iq', self._gMailQueryCB, 'result',
|
||||
nbxmpp.NS_GMAILNOTIFY)
|
||||
con.RegisterHandler('iq', self._DiscoverInfoGetCB, 'get',
|
||||
nbxmpp.NS_DISCO_INFO)
|
||||
con.RegisterHandler('iq', self._DiscoverItemsGetCB, 'get',
|
||||
|
|
|
@ -64,8 +64,8 @@ class EventsDumpPlugin(GajimPlugin):
|
|||
'GC_AFFILIATION', 'GC_PASSWORD_REQUIRED',
|
||||
'BAD_PASSPHRASE', 'ROSTER_INFO', 'BOOKMARKS',
|
||||
'CON_TYPE', 'CONNECTION_LOST', 'FILE_REQUEST',
|
||||
'GMAIL_NOTIFY', 'FILE_REQUEST_ERROR',
|
||||
'FILE_SEND_ERROR', 'STANZA_ARRIVED', 'STANZA_SENT',
|
||||
'FILE_REQUEST_ERROR', 'FILE_SEND_ERROR',
|
||||
'STANZA_ARRIVED', 'STANZA_SENT',
|
||||
'HTTP_AUTH', 'VCARD_PUBLISHED',
|
||||
'VCARD_NOT_PUBLISHED', 'ASK_NEW_NICK', 'SIGNED_IN',
|
||||
'METACONTACTS', 'ATOM_ENTRY', 'FAILED_DECRYPT',
|
||||
|
|
|
@ -13,13 +13,11 @@ from mock import Mock, expectParams
|
|||
from gajim_mocks import *
|
||||
from xmpp_mocks import IdleQueueThread
|
||||
|
||||
GMAIL_SRV_NAME = '_xmpp-client._tcp.gmail.com'
|
||||
NONSENSE_NAME = 'sfsdfsdfsdf.sdfs.fsd'
|
||||
JABBERCZ_TXT_NAME = '_xmppconnect.jabber.cz'
|
||||
JABBERCZ_SRV_NAME = '_xmpp-client._tcp.jabber.cz'
|
||||
|
||||
TEST_LIST = [(GMAIL_SRV_NAME, 'srv', True),
|
||||
(NONSENSE_NAME, 'srv', False),
|
||||
TEST_LIST = [(NONSENSE_NAME, 'srv', False),
|
||||
(JABBERCZ_SRV_NAME, 'srv', True)]
|
||||
|
||||
class TestResolver(unittest.TestCase):
|
||||
|
|
Loading…
Reference in New Issue