commit:     1020616ff7e0b4c9d9ea3bd3a439713e247a0ba9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 02:29:09 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 02:31:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1020616f

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 <AT> gentoo.org>

 app-admin/salt/salt-3003-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/salt/salt-3003-r1.ebuild 
b/app-admin/salt/salt-3003-r1.ebuild
index 67d0e862d78..19b06ebd022 100644
--- a/app-admin/salt/salt-3003-r1.ebuild
+++ b/app-admin/salt/salt-3003-r1.ebuild
@@ -120,13 +120,13 @@ 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
        rm tests/integration/states/test_supervisord.py || die
        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

Reply via email to