summaryrefslogtreecommitdiff
path: root/dev-python/python-urljr/files/python-urljr-1.0.1-gentoo-test_fetchers.patch
blob: 5a451e4a56007388bddbc682a749840d47d121b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- urljr/test/test_fetchers.py.orig	2007-05-31 09:16:31.000000000 -0700
+++ urljr/test/test_fetchers.py	2007-05-31 09:17:47.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
     assert expected.status == actual.status
     assert expected.body == actual.body