Skip to content

Commit

Permalink
python313Packages.dnspython: don't run tests that connect to internet
Browse files Browse the repository at this point in the history
  • Loading branch information
paparodeo committed Dec 21, 2024
1 parent 0302423 commit 4bd2716
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/python-modules/dnspython/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
stdenv,
lib,
aioquic,
buildPythonPackage,
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 4bd2716

Please sign in to comment.