commit:     e5a4be3aaa09afc130e277cd8fc816e602a9b7ea
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  2 20:45:05 2017 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Aug  2 21:01:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a4be3a

dev-python/pbr: fix tests for bug 626728

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/pbr/pbr-3.1.1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-python/pbr/pbr-3.1.1.ebuild b/dev-python/pbr/pbr-3.1.1.ebuild
index eb85a1a1ebb..d9fd67e9a56 100644
--- a/dev-python/pbr/pbr-3.1.1.ebuild
+++ b/dev-python/pbr/pbr-3.1.1.ebuild
@@ -56,9 +56,7 @@ python_prepare_all() {
        sed -e s':test_command_hooks:_&:' \
                -e s':test_global_setup_hooks:_&:' \
                -i pbr/tests/test_hooks.py || die
-       sed \
-               -e "s:test_wsgi_script_install:_&:" \
-               -i pbr/tests/test_wsgi.py || die
+       rm pbr/tests/test_wsgi.py || die "couldn't remove wsgi network tests"
        einfo "rogue tests disabled"
        sed -i '/^hacking/d' test-requirements.txt || die
 

Reply via email to