summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpmoody@google.com <pmoody@google.com@09200d28-7f98-11dd-ad27-0f66e57d2035>2011-02-20 19:07:35 +0000
committerpmoody@google.com <pmoody@google.com@09200d28-7f98-11dd-ad27-0f66e57d2035>2011-02-20 19:07:35 +0000
commit8a820aeae48f0e969f14746a70506f5c70f98c7c (patch)
tree43f9a2842b7c7fddd7994916428e052f43cd1927
parente4673a1b7152001261d30d02150a5ebc38c764b3 (diff)
downloadipaddr-py-8a820aeae48f0e969f14746a70506f5c70f98c7c.tar.gz
+ add teredo test for i77
git-svn-id: https://ipaddr-py.googlecode.com/svn@219 09200d28-7f98-11dd-ad27-0f66e57d2035
-rwxr-xr-xtrunk/ipaddr_test.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/trunk/ipaddr_test.py b/trunk/ipaddr_test.py
index 79c341d..2f2b5b3 100755
--- a/trunk/ipaddr_test.py
+++ b/trunk/ipaddr_test.py
@@ -1040,6 +1040,13 @@ class IpaddrUnitTest(unittest.TestCase):
bad_addr = '2000::4136:e378:8000:63bf:3fff:fdd2'
self.assertFalse(ipaddr.IPAddress(bad_addr).teredo)
+ # i77
+ teredo_addr = ipaddr.IPv6Address('2001:0:5ef5:79fd:0:59d:a0e5:ba1')
+ self.assertEqual((ipaddr.IPv4Address('94.245.121.253'),
+ ipaddr.IPv4Address('95.26.244.94')),
+ teredo_addr.teredo)
+
+
def testsixtofour(self):
sixtofouraddr = ipaddr.IPAddress('2002:ac1d:2d64::1')
bad_addr = ipaddr.IPAddress('2000:ac1d:2d64::1')