telepathy-gabble: Tests: replace GetSelfHandle calls with property-getting

Simon McVittie smcv at kemper.freedesktop.org
Mon Sep 23 02:38:40 PDT 2013


Module: telepathy-gabble
Branch: master
Commit: fc53d06408448f6b565a51c4a6f038517fcfa74c
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=fc53d06408448f6b565a51c4a6f038517fcfa74c

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri Sep 20 14:43:39 2013 +0100

Tests: replace GetSelfHandle calls with property-getting

sed expression:

    s/\.GetSelfHandle()/.Properties.Get(cs.CONN, "SelfHandle")/g

adjusted by hand to exclude Group.GetSelfHandle() calls.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69618
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>

---

 tests/twisted/caps/tube-caps.py                    |    4 ++--
 .../twisted/file-transfer/file_transfer_helper.py  |    2 +-
 tests/twisted/file-transfer/ft-client-caps.py      |    4 ++--
 tests/twisted/jingle-share/file_transfer_helper.py |    2 +-
 tests/twisted/jingle-share/test-multift.py         |    2 +-
 tests/twisted/jingle/call-codecoffer.py            |    2 +-
 tests/twisted/jingle/call-muc.py                   |    4 ++--
 tests/twisted/jingle/call_helper.py                |    2 +-
 tests/twisted/muc/avatars.py                       |    2 +-
 tests/twisted/muc/name-conflict.py                 |    2 +-
 tests/twisted/muc/renamed.py                       |    2 +-
 tests/twisted/muc/roomlist.py                      |    6 +++---
 tests/twisted/muc/test-muc-alias.py                |    2 +-
 tests/twisted/muc/test-muc-ownership.py            |    2 +-
 tests/twisted/muc/test-muc.py                      |    2 +-
 tests/twisted/presence/shared-status.py            |    4 ++--
 tests/twisted/roster/removed-from-rp-subscribe.py  |    2 +-
 tests/twisted/roster/test-google-roster.py         |    6 +++---
 tests/twisted/sasl/complex.py                      |    2 +-
 tests/twisted/test-debug.py                        |    4 ++--
 tests/twisted/text/destroy.py                      |    2 +-
 tests/twisted/text/ensure.py                       |    2 +-
 tests/twisted/text/facebook-own-message.py         |    2 +-
 tests/twisted/text/initiate-requestotron.py        |    2 +-
 tests/twisted/text/initiate.py                     |    2 +-
 tests/twisted/text/respawn.py                      |    2 +-
 tests/twisted/text/send-error.py                   |    4 ++--
 tests/twisted/text/test-chat-state.py              |    2 +-
 tests/twisted/text/test-text.py                    |    2 +-
 tests/twisted/tubes/accept-private-dbus-tube.py    |    2 +-
 tests/twisted/tubes/offer-muc-dbus-tube.py         |    2 +-
 tests/twisted/tubes/offer-private-dbus-tube.py     |    2 +-
 tests/twisted/tubes/offer-private-stream-tube.py   |    2 +-
 tests/twisted/tubes/tubetestutil.py                |    2 +-
 tests/twisted/vcard/overlapping-sets.py            |    2 +-
 tests/twisted/vcard/test-avatar-async.py           |    2 +-
 tests/twisted/vcard/test-set-alias.py              |    2 +-
 tests/twisted/vcard/test-vcard-cache.py            |    2 +-
 tests/twisted/vcard/test-vcard-race.py             |    3 ++-
 tests/twisted/vcard/update-get-failed.py           |    2 +-
 40 files changed, 51 insertions(+), 50 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-gabble/diff/?id=fc53d06408448f6b565a51c4a6f038517fcfa74c


More information about the telepathy-commits mailing list