python3Packages.notebook: disable networking tests on darwin

This commit is contained in:
Jonathan Ringer 2021-12-03 12:10:34 -08:00 committed by Jonathan Ringer
parent b37d18e731
commit 3f99620836

View File

@ -73,6 +73,12 @@ buildPythonPackage rec {
"test_checkpoints_follow_file"
];
disabledTestPaths = lib.optionals stdenv.isDarwin [
# requires local networking
"notebook/auth/tests/test_login.py"
"notebook/bundler/tests/test_bundler_api.py"
];
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;