diff options
Diffstat (limited to 'dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff')
-rw-r--r-- | dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff b/dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff new file mode 100644 index 00000000000..67587a98533 --- /dev/null +++ b/dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff @@ -0,0 +1,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 |