blob: 67587a98533ab55e53aaecd9e209c611b5f636a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- openid/test/test_fetchers.py.orig 2007-06-07 15:53:38.000000000 -0700
+++ openid/test/test_fetchers.py 2007-06-07 15:53:55.000000000 -0700
@@ -8,6 +8,8 @@
# XXX: make these separate test cases
def failUnlessResponseExpected(expected, actual):
+ expected.final_url = expected.final_url.replace("localhost", "127.0.0.1")
+ actual.final_url = actual.final_url.replace("localhost", "127.0.0.1")
assert expected.final_url == actual.final_url, (
"%r != %r" % (expected.final_url, actual.final_url))
assert expected.status == actual.status
|