python313Packages.dnspython: don't run tests that connect to internet

This commit is contained in:
Reno Dakota
2024-12-21 08:40:33 -08:00
parent 0302423dad
commit 4bd2716b3a
@@ -1,4 +1,5 @@
{
stdenv,
lib,
aioquic,
buildPythonPackage,
@@ -55,6 +56,11 @@ buildPythonPackage rec {
checkInputs = [ cacert ] ++ optional-dependencies.DNSSEC;
# don't run live tests
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NO_INTERNET = 1;
};
disabledTests = [
# dns.exception.SyntaxError: protocol not found
"test_misc_good_WKS_text"