summaryrefslogtreecommitdiff
path: root/dev-python/python-openid/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/python-openid/files
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python-openid/files')
-rw-r--r--dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff11
-rw-r--r--dev-python/python-openid/files/python-openid-2.2.5-tests.patch10
2 files changed, 21 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 000000000000..67587a98533a
--- /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
diff --git a/dev-python/python-openid/files/python-openid-2.2.5-tests.patch b/dev-python/python-openid/files/python-openid-2.2.5-tests.patch
new file mode 100644
index 000000000000..e5d17463ac95
--- /dev/null
+++ b/dev-python/python-openid/files/python-openid-2.2.5-tests.patch
@@ -0,0 +1,10 @@
+--- admin/runtests.orig 2016-01-01 03:32:55.835000000 +0000
++++ admin/runtests 2016-01-01 03:32:59.163000000 +0000
+@@ -93,7 +93,6 @@
+ 'test_htmldiscover',
+ 'test_nonce',
+ 'test_openidyadis',
+- 'test_parsehtml',
+ 'test_urinorm',
+ 'test_yadis_discover',
+ 'trustroot',