python311Packages.django-storages: disable failing tests

This commit is contained in:
Fabian Affolter 2024-03-05 11:45:05 +01:00
parent 272c9ded04
commit bd5bb90257

View File

@ -62,12 +62,6 @@ buildPythonPackage rec {
];
};
pythonImportsCheck = [
"storages"
];
env.DJANGO_SETTINGS_MODULE = "tests.settings";
nativeCheckInputs = [
cryptography
moto
@ -75,6 +69,17 @@ buildPythonPackage rec {
rsa
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [
"storages"
];
env.DJANGO_SETTINGS_MODULE = "tests.settings";
disabledTests = [
# AttributeError: 'str' object has no attribute 'universe_domain'
"test_storage_save_gzip"
];
meta = with lib; {
description = "Collection of custom storage backends for Django";
changelog = "https://github.com/jschneier/django-storages/blob/${version}/CHANGELOG.rst";