Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorStephan Erb <steve-e@h3c.de>2008-08-29 02:07:40 +0400
committerStephan Erb <steve-e@h3c.de>2008-08-29 02:07:40 +0400
commita16c65873a5849da796eadf0c24cfe8a876c7312 (patch)
tree004239ade13925c5f5dfa64c30ae5f852ae90dcb /test/lib
parentd63133d765e619aef34a2fe7a269f914aba8dacb (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-xtest/lib/data.py8
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',