diff src/test/helpers.py @ 484:23cbdf0a0777

core: presence status + last resource refactored and kept in entitiesCache in memory.py, profile cache is purged on disconnection
author Goffi <goffi@goffi.org>
date Wed, 15 Aug 2012 15:50:46 +0200
parents 2a072735e459
children 862c0d6ab974
line wrap: on
line diff
--- a/src/test/helpers.py	Thu Aug 02 01:08:51 2012 +0200
+++ b/src/test/helpers.py	Wed Aug 15 15:50:46 2012 +0200
@@ -66,7 +66,7 @@
     def addContact(self, contact_jid, attributes, groups, profile_key='@DEFAULT@'):
         pass
     
-    def addPresenceStatus(self, contact_jid, show, priority, statuses, profile_key='@DEFAULT@'):
+    def setPresenceStatus(self, contact_jid, show, priority, statuses, profile_key='@DEFAULT@'):
         pass
     
     def addWaitingSub(self, type, contact_jid, profile_key):