diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-24 19:23:49 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-25 15:02:43 +0100 |
commit | 54f15009d86977874acc08464fc90df9a3d9eba0 (patch) | |
tree | f9029741cb7dc850a9f06f26ec3ebb179960cc74 | |
parent | 303e8583eebd3c28f0edbf53f252a56bc1c73b5f (diff) | |
download | telepathy-haze-54f15009d86977874acc08464fc90df9a3d9eba0.tar.gz |
gabbletest: don't use GetStatus()
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69767
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
[cherry-picked from next to master -smcv]
-rw-r--r-- | 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: |