Mercurial > libervia-backend
comparison src/test/helpers.py @ 1367:f71a0fc26886
merged branch frontends_multi_profiles
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 18 Mar 2015 10:52:28 +0100 |
parents | 41ffe2c2dddc be3a301540c0 |
children | 069ad98b360d |
comparison
equal
deleted
inserted
replaced
1295:1e3b1f9ad6e2 | 1367:f71a0fc26886 |
---|---|
310 pass | 310 pass |
311 | 311 |
312 def delWaitingSub(self, contact_jid, profile_key): | 312 def delWaitingSub(self, contact_jid, profile_key): |
313 pass | 313 pass |
314 | 314 |
315 def updateEntityData(self, entity_jid, key, value, profile_key): | 315 def updateEntityData(self, entity_jid, key, value, silent=False, profile_key="@NONE@"): |
316 self.entities_data.setdefault(entity_jid, {}) | 316 self.entities_data.setdefault(entity_jid, {}) |
317 self.entities_data[entity_jid][key] = value | 317 self.entities_data[entity_jid][key] = value |
318 | 318 |
319 def getEntityData(self, entity_jid, keys, profile_key): | 319 def getEntityData(self, entity_jid, keys, profile_key): |
320 result = {} | 320 result = {} |