python313Packages.dnspython: don't run tests that connect to internet
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user