telepathy-haze: Don't test NewChannel
Simon McVittie
smcv at kemper.freedesktop.org
Tue Sep 24 04:14:09 PDT 2013
Module: telepathy-haze
Branch: master
Commit: e672a60c8a1669a7eb3bafce47edd55141bcfd4a
URL: http://cgit.freedesktop.org/telepathy/telepathy-haze/commit/?id=e672a60c8a1669a7eb3bafce47edd55141bcfd4a
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Mon Sep 23 13:56:23 2013 +0100
Don't test NewChannel
Also use assertEquals(), etc., on the lines I'm touching anyway.
Just remove initiate.py: the whole point of that test is to exercise
an obsolete API. The modern form of the initiation part is tested by
initiate-requestotron.py and the text bits are tested by test-text.py.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
---
tests/twisted/Makefile.am | 1 -
tests/twisted/sasl/saslutil.py | 13 +---
tests/twisted/text/destroy.py | 22 ++----
tests/twisted/text/ensure.py | 57 +++++-----------
tests/twisted/text/initiate-requestotron.py | 28 +++-----
tests/twisted/text/initiate.py | 98 ---------------------------
tests/twisted/text/respawn.py | 41 +++++------
tests/twisted/text/test-text-delayed.py | 13 ++--
tests/twisted/text/test-text-no-body.py | 11 ++-
tests/twisted/text/test-text.py | 27 ++++----
10 files changed, 82 insertions(+), 229 deletions(-)
Diff: http://cgit.freedesktop.org/telepathy/telepathy-haze/diff/?id=e672a60c8a1669a7eb3bafce47edd55141bcfd4a
More information about the telepathy-commits
mailing list