Projet

Général

Profil

0042-misc-fix-reimported-pylint-error-62099.patch

Lauréline Guérin, 22 mars 2022 10:31

Télécharger (1,21 ko)

Voir les différences:

Subject: [PATCH 42/65] misc: fix reimported pylint error (#62099)

 tests/conftest.py              | 2 --
 tests/test_generic_endpoint.py | 2 --
 2 files changed, 4 deletions(-)
tests/conftest.py
199 199
    finally:
200 200
        InMemoryCache._cache = {}
201 201

  
202
    from django.core.cache import cache
203

  
204 202
    cache.clear()
205 203

  
206 204

  
tests/test_generic_endpoint.py
712 712
def test_https_warnings(app, db, monkeypatch, httpbin_secure, relax_openssl):
713 713
    from requests.exceptions import SSLError
714 714

  
715
    from passerelle.apps.arcgis.models import ArcGIS
716

  
717 715
    resource = tests.utils.make_resource(
718 716
        ArcGIS, base_url='https://example.com/', slug='gis', verify_cert=True
719 717
    )
720
-