Skip to content

Commit 3e79601

Browse files
authored
python3Packages.django-storages: Enable one test (#358429)
2 parents 6632eed + 9464799 commit 3e79601

File tree

1 file changed

+7
-6
lines changed
  • pkgs/development/python-modules/django-storages

1 file changed

+7
-6
lines changed

pkgs/development/python-modules/django-storages/default.nix

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ buildPythonPackage rec {
4141
hash = "sha256-jSb/uJ0RXvPsXl+WUAzAgDvJl9Y3ad2F30X1SbsCc04=";
4242
name = "add_moto_5_support.patch";
4343
})
44+
# Fix Google Cloud tests
45+
# https://github.com/jschneier/django-storages/pull/1476
46+
(fetchpatch {
47+
url = "https://github.com/jschneier/django-storages/commit/fda4e2375bfc5b400593ce01f6516dc3264d0357.patch";
48+
hash = "sha256-Dga4xvCjeKEwuH0ynyJeM0criBtKT6Z+4gINXMKh4Ng=";
49+
name = "fix_google_cloud_tests.patch";
50+
})
4451
];
4552

4653
build-system = [ setuptools ];
@@ -70,12 +77,6 @@ buildPythonPackage rec {
7077

7178
env.DJANGO_SETTINGS_MODULE = "tests.settings";
7279

73-
disabledTests = [
74-
# AttributeError: 'str' object has no attribute 'universe_domain'
75-
# https://github.com/jschneier/django-storages/issues/1463
76-
"test_storage_save_gzip"
77-
];
78-
7980
meta = {
8081
description = "Collection of custom storage backends for Django";
8182
changelog = "https://github.com/jschneier/django-storages/blob/${version}/CHANGELOG.rst";

0 commit comments

Comments
 (0)