comparison src/test/helpers.py @ 425:e4e9187e3b5b

backend, bridge: asynchronous history quick_frontend: use of asynchronous history
author Goffi <goffi@goffi.org>
date Tue, 08 Nov 2011 01:08:11 +0100
parents 99206631503e
children cf005701624b
comparison
equal deleted inserted replaced
424:72c13313b6d6 425:e4e9187e3b5b
58 """Class to simulate and test memory object""" 58 """Class to simulate and test memory object"""
59 59
60 def getProfileName(self, profile_key): 60 def getProfileName(self, profile_key):
61 return profile_key 61 return profile_key
62 62
63 def addToHistory(self, me_jid, from_jid, to_jid, type, message): 63 def addToHistory(self, from_jid, to_jid, message, timestamp=None, profile=None):
64 pass 64 pass
65 65
66 def addContact(self, contact_jid, attributes, groups, profile_key='@DEFAULT@'): 66 def addContact(self, contact_jid, attributes, groups, profile_key='@DEFAULT@'):
67 pass 67 pass
68 68