[Telepathy-commits] [telepathy-salut/master] test-send-file-to-unknown-contact.py: add error message when asserting False
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Thu Feb 26 11:20:26 PST 2009
---
.../avahi/test-send-file-to-unknown-contact.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/avahi/test-send-file-to-unknown-contact.py b/tests/twisted/avahi/test-send-file-to-unknown-contact.py
index 2f84727..bb597d6 100644
--- a/tests/twisted/avahi/test-send-file-to-unknown-contact.py
+++ b/tests/twisted/avahi/test-send-file-to-unknown-contact.py
@@ -20,7 +20,7 @@ class SendFileTransferToUnknownContactTest(SendFileTest):
except dbus.DBusException, e:
assert e.get_dbus_name() == 'org.freedesktop.Telepathy.Errors.NotAvailable'
else:
- assert False
+ assert False, "Should raise NotAvailable error"
if __name__ == '__main__':
test = SendFileTransferToUnknownContactTest()
--
1.5.6.5
More information about the telepathy-commits
mailing list