[telepathy-gabble/master] test-debug.py: Fix to use correct iface and number of NewDebugMessage args.

Jonny Lamb jonny.lamb at collabora.co.uk
Wed Jun 3 16:55:24 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
Signed-off-by: Will Thompson <will.thompson at collabora.co.uk>
---
 tests/twisted/test-debug.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/twisted/test-debug.py b/tests/twisted/test-debug.py
index dd99795..60b201c 100644
--- a/tests/twisted/test-debug.py
+++ b/tests/twisted/test-debug.py
@@ -9,13 +9,13 @@ from gabbletest import exec_test
 import constants as cs
 
 path = '/org/freedesktop/Telepathy/debug'
-iface = 'org.freedesktop.Telepathy.Debug'
+iface = 'org.freedesktop.Telepathy.Debug.DRAFT'
 
 def test(q, bus, conn, stream):
     messages = []
 
-    def new_message(timestamp, string):
-        messages.append((timestamp, string))
+    def new_message(timestamp, domain, level, string):
+        messages.append((timestamp, domain, level, string))
 
     debug = bus.get_object(conn.bus_name, path)
     debug_iface = dbus.Interface(debug, iface)
-- 
1.5.6.5



More information about the telepathy-commits mailing list