From: Brian Warner <warner@allmydata.com>
Date: Thu, 29 Mar 2007 18:21:17 +0000 (-0700)
Subject: test_iputil: remove the test that only works on linux, since we're using the cross... 
X-Git-Url: https://git.rkrishnan.org/listings/readonly?a=commitdiff_plain;h=93c4a5ebb08f2e2c8a163311fc00ace91aa7a2b4;p=tahoe-lafs%2Ftahoe-lafs.git

test_iputil: remove the test that only works on linux, since we're using the cross-unix 'get_local_addresses_async' anyways. This should allow the tests to pass on OS-X
---

diff --git a/src/allmydata/test/test_iputil.py b/src/allmydata/test/test_iputil.py
index fa8bde07..79f06752 100644
--- a/src/allmydata/test/test_iputil.py
+++ b/src/allmydata/test/test_iputil.py
@@ -11,8 +11,3 @@ class ListAddresses(unittest.TestCase):
         d.addCallbacks(_check)
         return d
 
-    def test_list(self):
-        addresses = iputil.get_local_addresses()
-        self.failUnless(len(addresses) >= 1) # always have localhost
-        self.failUnless("127.0.0.1" in addresses)
-