source:
ralphm-patches/pubsub_connectionInitialized.patch
@
83:255aae0cf8c5
Last change on this file since 83:255aae0cf8c5 was 73:f574beee3bca, checked in by Ralph Meijer <ralphm@…>, 9 years ago | |
---|---|
File size: 1.2 KB |
-
wokkel/pubsub.py
# HG changeset patch # Parent 8225db068494be9796ab059e00bdb510ffe05bab diff --git a/wokkel/pubsub.py b/wokkel/pubsub.py
a b 1094 1094 self.pubSubFeatures = [] 1095 1095 1096 1096 1097 def connection Made(self):1097 def connectionInitialized(self): 1098 1098 self.xmlstream.addObserver(PUBSUB_REQUEST, self.handleRequest) 1099 1099 1100 1100 -
wokkel/test/test_pubsub.py
diff --git a/wokkel/test/test_pubsub.py b/wokkel/test/test_pubsub.py
a b 1963 1963 verify.verifyObject(iwokkel.IDisco, self.service) 1964 1964 1965 1965 1966 def test_connection Made(self):1967 """ 1968 Verify setup of observers in L{pubsub.connection Made}.1966 def test_connectionInitialized(self): 1967 """ 1968 Verify setup of observers in L{pubsub.connectionInitialized}. 1969 1969 """ 1970 1970 requests = [] 1971 1971 … … 1975 1975 self.service.xmlstream = self.stub.xmlstream 1976 1976 self.service.handleRequest = handleRequest 1977 1977 self.service.connectionMade() 1978 self.service.connectionInitialized() 1978 1979 1979 1980 for namespace in (NS_PUBSUB, NS_PUBSUB_OWNER): 1980 1981 for stanzaType in ('get', 'set'):
Note: See TracBrowser
for help on using the repository browser.