Mercurial > libervia-backend
diff src/test/helpers.py @ 669:ffb716804580
core, bridge: extra parameter is saved in history:
- added extra data in getHistory return value
- extra data is saved in database
/!\ WARNING: DATABASE SCHEMA HAS CHANGED /!\
to update sqlite database: ALTER TABLE history ADD COLUMN extra BLOB;
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 07 Nov 2013 15:29:39 +0100 |
parents | e20c823f23e2 |
children | 65b30bc7f1b3 |
line wrap: on
line diff
--- a/src/test/helpers.py Tue Nov 05 22:41:45 2013 +0100 +++ b/src/test/helpers.py Thu Nov 07 15:29:39 2013 +0100 @@ -74,7 +74,7 @@ def getProfileName(self, profile_key): return profile_key - def addToHistory(self, from_jid, to_jid, message, _type='chat', timestamp=None, profile=None): + def addToHistory(self, from_jid, to_jid, message, _type='chat', extra=None, timestamp=None, profile="@NONE@"): pass def addContact(self, contact_jid, attributes, groups, profile_key='@DEFAULT@'):