summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-24 19:23:49 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-24 19:23:49 +0100
commit73f859f9c4eec47c3f61f4a35393bffa5c706380 (patch)
tree7e775d7ed84ffaf71379786d59b1572bc9ff68ed
parent5b5775a2b6b163f9b7bd652b0bfa1823dc75c5fb (diff)
downloadtelepathy-haze-73f859f9c4eec47c3f61f4a35393bffa5c706380.tar.gz
gabbletest: don't use GetStatus()
-rw-r--r--tests/twisted/gabbletest.py2
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: