summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-21 03:29:09 +0100
committerSam James <sam@gentoo.org>2021-06-21 03:31:06 +0100
commit1020616ff7e0b4c9d9ea3bd3a439713e247a0ba9 (patch)
tree4bc4f119eea9fb919d1c37db17b9e74e52575cd6 /app-admin/salt
parentapp-admin/salt: add missing dev-python/genshi (test) dependency (diff)
downloadgentoo-1020616ff7e0b4c9d9ea3bd3a439713e247a0ba9.tar.gz
gentoo-1020616ff7e0b4c9d9ea3bd3a439713e247a0ba9.tar.bz2
gentoo-1020616ff7e0b4c9d9ea3bd3a439713e247a0ba9.zip
app-admin/salt: drop network test (test_network.py) which needs 'dig'
FAILED tests/unit/modules/test_network.py::NetworkTestCase::test_dig - FileNotFoundError: [Errno 2] No such file or directory: 'dig' Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/salt')
-rw-r--r--app-admin/salt/salt-3003-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-admin/salt/salt-3003-r1.ebuild b/app-admin/salt/salt-3003-r1.ebuild
index 67d0e862d785..19b06ebd0227 100644
--- a/app-admin/salt/salt-3003-r1.ebuild
+++ b/app-admin/salt/salt-3003-r1.ebuild
@@ -120,6 +120,7 @@ python_prepare_all() {
rm -r tests/integration/cloud || die
rm -r tests/kitchen/tests/wordpress/tests || die
rm tests/kitchen/test_kitchen.py || die
+ rm tests/unit/modules/test_network.py || die
# tests require root access
rm tests/integration/pillar/test_git_pillar.py || die
@@ -127,7 +128,6 @@ python_prepare_all() {
rm tests/pytests/unit/client/test_ssh.py || die
# make sure pkg_resources doesn't bomb because pycrypto isn't installed
- # make sure pkg_resources doesn't bomb because pycrypto isn't installed
find "${S}" -name '*.txt' -print0 | xargs -0 sed -e '/pycrypto>/ d ; /pycryptodomex/ d' -i || die
# pycryptodome rather than pycryptodomex
find "${S}" -name '*.py' -print0 | xargs -0 -- sed -i -e 's:Cryptodome:Crypto:g' -- || die