[Telepathy-commits] [telepathy-gabble/master] olpc-activity-search.py: check if GetProperties return the right properties

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Sep 26 10:02:23 PDT 2008


20080627142016-7fe3f-26c7267260b442cfd93ca119dbed124410309ecc.gz
---
 tests/twisted/olpc/olpc-activity-search.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/twisted/olpc/olpc-activity-search.py b/tests/twisted/olpc/olpc-activity-search.py
index 020b2fc..acbada1 100644
--- a/tests/twisted/olpc/olpc-activity-search.py
+++ b/tests/twisted/olpc/olpc-activity-search.py
@@ -342,6 +342,10 @@ def test(q, bus, conn, stream):
 
     assert properties == {'tags': 'game', 'color': '#AABBAA,#BBAABB'}
 
+    # we now get the new activity properties
+    props = activity_prop_iface.GetProperties(room)
+    assert props == {'tags': 'game', 'color': '#AABBAA,#BBAABB'}
+
     # remove one activity from view 0
     message = domish.Element((None, 'message'))
     message['from'] = 'gadget.localhost'
-- 
1.5.6.5




More information about the Telepathy-commits mailing list