python312Packages.msal-extensions: disable failing tests on darwin
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
@@ -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" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user