Ignore:
Timestamp:
Aug 22, 2007, 5:00:48 PM (15 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Convert:
svn:b33ecbfc-034c-dc11-8662-000475d9059e/trunk@5
Message:

Reverse how handlers are associated with the stream manager. Kick version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/test/test_pubsub.py

    r1 r4  
    2323    def test_onPublishNoNode(self):
    2424        handler = pubsub.PubSubService()
    25         handler.manager = self
     25        handler.parent = self
    2626        iq = domish.Element((None, 'iq'))
    2727        iq['from'] = 'user@example.org'
     
    4141
    4242        handler = Handler()
    43         handler.manager = self
     43        handler.parent = self
    4444        iq = domish.Element((None, 'iq'))
    4545        iq['type'] = 'set'
     
    5454    def test_onOptionsGet(self):
    5555        handler = pubsub.PubSubService()
    56         handler.manager = self
     56        handler.parent = self
    5757        iq = domish.Element((None, 'iq'))
    5858        iq['from'] = 'user@example.org'
Note: See TracChangeset for help on using the changeset viewer.