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._HttpAuthCB, 'get', nbxmpp.NS_HTTP_AUTH)
|
||||||
con.RegisterHandler('iq', self._CommandExecuteCB, 'set',
|
con.RegisterHandler('iq', self._CommandExecuteCB, 'set',
|
||||||
nbxmpp.NS_COMMANDS)
|
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',
|
con.RegisterHandler('iq', self._DiscoverInfoGetCB, 'get',
|
||||||
nbxmpp.NS_DISCO_INFO)
|
nbxmpp.NS_DISCO_INFO)
|
||||||
con.RegisterHandler('iq', self._DiscoverItemsGetCB, 'get',
|
con.RegisterHandler('iq', self._DiscoverItemsGetCB, 'get',
|
||||||
|
|
|
@ -64,8 +64,8 @@ class EventsDumpPlugin(GajimPlugin):
|
||||||
'GC_AFFILIATION', 'GC_PASSWORD_REQUIRED',
|
'GC_AFFILIATION', 'GC_PASSWORD_REQUIRED',
|
||||||
'BAD_PASSPHRASE', 'ROSTER_INFO', 'BOOKMARKS',
|
'BAD_PASSPHRASE', 'ROSTER_INFO', 'BOOKMARKS',
|
||||||
'CON_TYPE', 'CONNECTION_LOST', 'FILE_REQUEST',
|
'CON_TYPE', 'CONNECTION_LOST', 'FILE_REQUEST',
|
||||||
'GMAIL_NOTIFY', 'FILE_REQUEST_ERROR',
|
'FILE_REQUEST_ERROR', 'FILE_SEND_ERROR',
|
||||||
'FILE_SEND_ERROR', 'STANZA_ARRIVED', 'STANZA_SENT',
|
'STANZA_ARRIVED', 'STANZA_SENT',
|
||||||
'HTTP_AUTH', 'VCARD_PUBLISHED',
|
'HTTP_AUTH', 'VCARD_PUBLISHED',
|
||||||
'VCARD_NOT_PUBLISHED', 'ASK_NEW_NICK', 'SIGNED_IN',
|
'VCARD_NOT_PUBLISHED', 'ASK_NEW_NICK', 'SIGNED_IN',
|
||||||
'METACONTACTS', 'ATOM_ENTRY', 'FAILED_DECRYPT',
|
'METACONTACTS', 'ATOM_ENTRY', 'FAILED_DECRYPT',
|
||||||
|
|
|
@ -13,13 +13,11 @@ from mock import Mock, expectParams
|
||||||
from gajim_mocks import *
|
from gajim_mocks import *
|
||||||
from xmpp_mocks import IdleQueueThread
|
from xmpp_mocks import IdleQueueThread
|
||||||
|
|
||||||
GMAIL_SRV_NAME = '_xmpp-client._tcp.gmail.com'
|
|
||||||
NONSENSE_NAME = 'sfsdfsdfsdf.sdfs.fsd'
|
NONSENSE_NAME = 'sfsdfsdfsdf.sdfs.fsd'
|
||||||
JABBERCZ_TXT_NAME = '_xmppconnect.jabber.cz'
|
JABBERCZ_TXT_NAME = '_xmppconnect.jabber.cz'
|
||||||
JABBERCZ_SRV_NAME = '_xmpp-client._tcp.jabber.cz'
|
JABBERCZ_SRV_NAME = '_xmpp-client._tcp.jabber.cz'
|
||||||
|
|
||||||
TEST_LIST = [(GMAIL_SRV_NAME, 'srv', True),
|
TEST_LIST = [(NONSENSE_NAME, 'srv', False),
|
||||||
(NONSENSE_NAME, 'srv', False),
|
|
||||||
(JABBERCZ_SRV_NAME, 'srv', True)]
|
(JABBERCZ_SRV_NAME, 'srv', True)]
|
||||||
|
|
||||||
class TestResolver(unittest.TestCase):
|
class TestResolver(unittest.TestCase):
|
||||||
|
|
Loading…
Reference in New Issue