From 54f15009d86977874acc08464fc90df9a3d9eba0 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 24 Sep 2013 19:23:49 +0100 Subject: gabbletest: don't use GetStatus() Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69767 Reviewed-by: Guillaume Desmottes [cherry-picked from next to master -smcv] --- tests/twisted/gabbletest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.1