[Telepathy-commits] [telepathy-gabble/master] current-activity.py: fix view ID and re-enable the test
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Thu Oct 9 08:00:43 PDT 2008
---
tests/twisted/olpc/current-activity.py | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/tests/twisted/olpc/current-activity.py b/tests/twisted/olpc/current-activity.py
index 2531a82..f59341c 100644
--- a/tests/twisted/olpc/current-activity.py
+++ b/tests/twisted/olpc/current-activity.py
@@ -2,10 +2,6 @@
test OLPC Buddy properties current activity
"""
-print "FIXME: olpc/current-activity.py disabled during requestotronification of the view API"
-# exiting 77 causes automake to consider the test to have been skipped
-raise SystemExit(77)
-
import dbus
from servicetest import call_async, EventPattern
@@ -88,13 +84,13 @@ def test(q, bus, conn, stream):
# request a activity view containing only Bob and one
# activity in it.
- request_random_activity_view(q, stream, conn, 1, '0',
+ request_random_activity_view(q, stream, conn, 1, '1',
[('activity3', 'room3 at conference.localhost', {},
[('bob at localhost', {}),]),])
# Gadget sends us a current-activity change concerning a
# known activity
- send_gadget_current_activity_changed_msg(stream, 'bob at localhost', '0',
+ send_gadget_current_activity_changed_msg(stream, 'bob at localhost', '1',
'activity3', 'room3 at conference.localhost')
# Gadget notifies us about the change
@@ -112,7 +108,7 @@ def test(q, bus, conn, stream):
# Gadget sends us a current-activity change concerning an
# unknown activity
- send_gadget_current_activity_changed_msg(stream, 'bob at localhost', '0',
+ send_gadget_current_activity_changed_msg(stream, 'bob at localhost', '1',
'activity4', 'room4 at conference.localhost')
# Gadget changed Alice's current-activity to none as it doesn't
--
1.5.6.5
More information about the Telepathy-commits
mailing list