python.pkgs.python-gnupg: disable failing test test_search_keys

reading the code, it's hard to see how this test was *ever* supposed to
pass. interestingly, peeking across the fence, guix have disabled this test
too for the same reason.

note that tests don't actually run *at all* on py27 but that's a problem
for another day
This commit is contained in:
Robert Scott 2017-09-23 17:58:19 +01:00 committed by Robin Gloster
parent 08b09fdc5c
commit 9ca4f39b97

View File

@ -17,7 +17,8 @@ buildPythonPackage rec {
substituteInPlace gnupg.py \
--replace "gpgbinary='gpg'" "gpgbinary='${gnupg1}/bin/gpg'"
substituteInPlace test_gnupg.py \
--replace "gpgbinary=GPGBINARY" "gpgbinary='${gnupg1}/bin/gpg'"
--replace "gpgbinary=GPGBINARY" "gpgbinary='${gnupg1}/bin/gpg'" \
--replace "test_search_keys" "disabled__test_search_keys"
'';
meta = with stdenv.lib; {