From a16c65873a5849da796eadf0c24cfe8a876c7312 Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Thu, 28 Aug 2008 22:07:40 +0000 Subject: Small enhancements for test_roster_window. * Make sure that contacts show up under the correct parent * Add check support for SelfContacts --- test/lib/data.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/lib') 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', -- cgit v1.2.3