[Telepathy-commits] [telepathy-salut/master] test-send-file-and-cancel-immediately.py: add error message when asserting False

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Feb 26 11:20:27 PST 2009


---
 .../avahi/test-send-file-and-cancel-immediately.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/avahi/test-send-file-and-cancel-immediately.py b/tests/twisted/avahi/test-send-file-and-cancel-immediately.py
index 7c63d50..c503c10 100644
--- a/tests/twisted/avahi/test-send-file-and-cancel-immediately.py
+++ b/tests/twisted/avahi/test-send-file-and-cancel-immediately.py
@@ -30,7 +30,7 @@ class SendFileAndCancelImmediatelyTest(SendFileTest):
             code, msg = e.args
             assert errno.errorcode[code] == 'ECONNREFUSED'
         else:
-            assert False
+            assert False, "Should raise a socket error"
 
         # stop test
         return True
-- 
1.5.6.5




More information about the telepathy-commits mailing list