comparison src/test/helpers.py @ 1284:41ffe2c2dddc

plugin XEP-0313: update (still draft)
author souliane <souliane@mailoo.org>
date Fri, 09 Jan 2015 10:51:12 +0100
parents 3a3e3014f9f8
children f71a0fc26886
comparison
equal deleted inserted replaced
1283:7d9ff14a2d9d 1284:41ffe2c2dddc
112 112
113 @param mess_data: message data dictionnary 113 @param mess_data: message data dictionnary
114 @param client: profile's client 114 @param client: profile's client
115 """ 115 """
116 return mess_data # TODO 116 return mess_data # TODO
117
118 def getProfileName(self, profile_key):
119 """Get the profile name from the profile_key"""
120 return profile_key
117 121
118 def getClient(self, profile_key): 122 def getClient(self, profile_key):
119 """Convenient method to get client from profile key 123 """Convenient method to get client from profile key
120 @return: client or None if it doesn't exist""" 124 @return: client or None if it doesn't exist"""
121 profile = self.memory.getProfileName(profile_key) 125 profile = self.memory.getProfileName(profile_key)