telepathy-haze: gabbletest: don't use GetStatus()
Simon McVittie
smcv at kemper.freedesktop.org
Wed Sep 25 07:53:30 PDT 2013
Module: telepathy-haze
Branch: master
Commit: 54f15009d86977874acc08464fc90df9a3d9eba0
URL: http://cgit.freedesktop.org/telepathy/telepathy-haze/commit/?id=54f15009d86977874acc08464fc90df9a3d9eba0
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Sep 24 19:23:49 2013 +0100
gabbletest: don't use GetStatus()
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69767
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
[cherry-picked from next to master -smcv]
---
tests/twisted/gabbletest.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/gabbletest.py b/tests/twisted/gabbletest.py
index e6b8baa..11cf3d2 100644
--- a/tests/twisted/gabbletest.py
+++ b/tests/twisted/gabbletest.py
@@ -682,7 +682,7 @@ def exec_test_deferred(fun, params, protocol=None, timeout=None,
# Connection has already been disconnected and destroyed
continue
try:
- if conn.GetStatus() == cs.CONN_STATUS_CONNECTED:
+ if conn.Properties.Get(cs.CONN, 'Status') == cs.CONN_STATUS_CONNECTED:
# Connection is connected, properly disconnect it
disconnect_conn(queue, conn, streams[i])
else:
More information about the telepathy-commits
mailing list