diff options
author | Stephan Erb <steve-e@h3c.de> | 2008-08-29 02:07:40 +0400 |
---|---|---|
committer | Stephan Erb <steve-e@h3c.de> | 2008-08-29 02:07:40 +0400 |
commit | a16c65873a5849da796eadf0c24cfe8a876c7312 (patch) | |
tree | 004239ade13925c5f5dfa64c30ae5f852ae90dcb /test/lib | |
parent | d63133d765e619aef34a2fe7a269f914aba8dacb (diff) |
Small enhancements for test_roster_window.
* Make sure that contacts show up under the correct parent
* Add check support for SelfContacts
Diffstat (limited to 'test/lib')
-rwxr-xr-x | test/lib/data.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/lib/data.py b/test/lib/data.py index 0e144290b..074a7def8 100755 --- a/test/lib/data.py +++ b/test/lib/data.py @@ -5,6 +5,9 @@ account3 = u'dingdong.org' contacts = {} contacts[account1] = { + u'myjid@'+account1: { + 'ask': None, 'groups': [], 'name': None, 'resources': {}, + 'subscription': u'both'}, u'default1@gajim.org': { 'ask': None, 'groups': [], 'name': None, 'resources': {}, 'subscription': u'both'}, @@ -19,6 +22,9 @@ contacts[account1] = { 'subscription': u'both'} } contacts[account2] = { + u'myjid@'+account2: { + 'ask': None, 'groups': [], 'name': None, 'resources': {}, + 'subscription': u'both'}, u'default3@gajim.org': { 'ask': None, 'groups': [u'GroupC',], 'name': None, 'resources': {}, 'subscription': u'both'}, @@ -46,7 +52,7 @@ contacts[account3] = { # 'ask': None, 'groups': [], 'name': None, # 'resources': {}, 'subscription': u'both'} } - +# We have contacts that are not in roster but only specified in the metadata metacontact_data = [ [{'account': account3, 'jid': u'guypsych0\\40h.com@msn.dingdong.org', |