Changeset 81:0b4c90f960bb in ralphm-patches


Ignore:
Timestamp:
Jun 28, 2016, 3:58:54 PM (4 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Message:

Complete name change of getRosterReceived.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • session_manager.patch

    r79 r81  
    11# HG changeset patch
    22# Parent d800a4363f602f6ff344181f0d20b5809157b0b1
    3 # Parent  1ce344d36e1b3989fd4bf438bfa633d3a7673560
     3# Parent  55eb3f11240d719a97e32eabf3ce03fe346cb8bf
    44
    55diff --git a/wokkel/ewokkel.py b/wokkel/ewokkel.py
     
    247247+
    248248+
    249 +    def test_getRoster(self):
     249+    def test_getRosterReceived(self):
    250250+        """
    251251+        The returned roster is gotten from the session user.
     
    255255+
    256256+        request = xmppim.RosterRequest()
    257 +        d = self.service.getRoster(request)
     257+        d = self.service.getRosterReceived(request)
    258258+        d.addCallback(gotRoster)
    259259+        return d
    260260+
    261261+
    262 +    def test_getRosterInterested(self):
     262+    def test_getRosterReceivedInterested(self):
    263263+        """
    264264+        Requesting the roster marks the session as interested in roster pushes.
     
    268268+
    269269+        request = xmppim.RosterRequest()
    270 +        d = self.service.getRoster(request)
     270+        d = self.service.getRosterReceived(request)
    271271+        d.addCallback(gotRoster)
    272272+        return d
     
    674674+
    675675+
    676 +    def getRoster(self, request):
     676+    def getRosterReceived(self, request):
    677677+        """
    678678+        Return the roster of the user associated with this session.
Note: See TracChangeset for help on using the changeset viewer.