python3Packages.django-storages: Enable one test (#358429)

This commit is contained in:
Aleksana 2024-11-24 23:40:29 +08:00 committed by GitHub
commit 3e79601b1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,6 +41,13 @@ buildPythonPackage rec {
hash = "sha256-jSb/uJ0RXvPsXl+WUAzAgDvJl9Y3ad2F30X1SbsCc04=";
name = "add_moto_5_support.patch";
})
# Fix Google Cloud tests
# https://github.com/jschneier/django-storages/pull/1476
(fetchpatch {
url = "https://github.com/jschneier/django-storages/commit/fda4e2375bfc5b400593ce01f6516dc3264d0357.patch";
hash = "sha256-Dga4xvCjeKEwuH0ynyJeM0criBtKT6Z+4gINXMKh4Ng=";
name = "fix_google_cloud_tests.patch";
})
];
build-system = [ setuptools ];
@ -70,12 +77,6 @@ buildPythonPackage rec {
env.DJANGO_SETTINGS_MODULE = "tests.settings";
disabledTests = [
# AttributeError: 'str' object has no attribute 'universe_domain'
# https://github.com/jschneier/django-storages/issues/1463
"test_storage_save_gzip"
];
meta = {
description = "Collection of custom storage backends for Django";
changelog = "https://github.com/jschneier/django-storages/blob/${version}/CHANGELOG.rst";