Unverified Commit 3e79601b authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

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

parents 6632eed3 9464799e
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -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";