From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- .../files/python-openid-2.0.0-gentoo-test_fetchers.diff | 11 +++++++++++ .../python-openid/files/python-openid-2.2.5-tests.patch | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 dev-python/python-openid/files/python-openid-2.0.0-gentoo-test_fetchers.diff create mode 100644 dev-python/python-openid/files/python-openid-2.2.5-tests.patch (limited to 'dev-python/python-openid/files') 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', -- cgit v1.3.1