From 88a7fdcaab314f627e92acf8a25a94a74718aa31 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 16 Apr 2007 15:05:25 -0700 Subject: [PATCH] test_iputil: improve error message --- src/allmydata/test/test_iputil.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/allmydata/test/test_iputil.py b/src/allmydata/test/test_iputil.py index 79f06752..e4e524fa 100644 --- a/src/allmydata/test/test_iputil.py +++ b/src/allmydata/test/test_iputil.py @@ -7,7 +7,8 @@ class ListAddresses(unittest.TestCase): d = iputil.get_local_addresses_async() def _check(addresses): self.failUnless(len(addresses) >= 1) # always have localhost - self.failUnless("127.0.0.1" in addresses) + self.failUnless("127.0.0.1" in addresses, + "didn't see 127.0.0.1 in %s" % (addresses,)) d.addCallbacks(_check) return d -- 2.45.2