python312Packages.msal-extensions: disable failing tests on darwin

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
2025-02-08 10:45:31 +01:00
parent 34e6fb68e5
commit 7c30daaa70
@@ -5,6 +5,7 @@
msal,
portalocker,
setuptools,
stdenv,
pythonOlder,
pytestCheckHook,
}:
@@ -34,12 +35,18 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# `from gi.repository import Secret` fails to find libsecret
"test_token_cache_roundtrip_with_persistence_builder"
"test_libsecret_persistence"
"test_nonexistent_libsecret_persistence"
];
disabledTests =
[
# `from gi.repository import Secret` fails to find libsecret
"test_token_cache_roundtrip_with_persistence_builder"
"test_libsecret_persistence"
"test_nonexistent_libsecret_persistence"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# msal_extensions.osx.KeychainError
"test_keychain_roundtrip"
"test_keychain_persistence"
];
pythonImportsCheck = [ "msal_extensions" ];