Mercurial > libervia-backend
diff src/test/helpers.py @ 1315:be3a301540c0 frontends_multi_profiles
core (memory): updateEntityData now accept a "silent" argument to avoid sending signal to frontends when updating an attribute with "signalOnUpdate" flag.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 09 Feb 2015 21:39:51 +0100 |
parents | 020e663bc286 |
children | f71a0fc26886 |
line wrap: on
line diff
--- a/src/test/helpers.py Mon Feb 09 21:39:51 2015 +0100 +++ b/src/test/helpers.py Mon Feb 09 21:39:51 2015 +0100 @@ -286,7 +286,7 @@ def delWaitingSub(self, contact_jid, profile_key): pass - def updateEntityData(self, entity_jid, key, value, profile_key): + def updateEntityData(self, entity_jid, key, value, silent=False, profile_key="@NONE@"): self.entities_data.setdefault(entity_jid, {}) self.entities_data[entity_jid][key] = value