From 9f4d8fd9b5e8e292b35c017d6e074b97f1b39288 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 8 Feb 2019 07:22:47 +0100 Subject: [PATCH 09/13] tests: remove non apps installable ressource class (#30458) --- tests/test_generic_endpoint.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_generic_endpoint.py b/tests/test_generic_endpoint.py index 09ab53b..8880da8 100644 --- a/tests/test_generic_endpoint.py +++ b/tests/test_generic_endpoint.py @@ -335,10 +335,7 @@ def test_endpoint_cookies(app, db, monkeypatch, httpbin): def test_https_warnings(app, db, monkeypatch, httpbin_secure, relax_openssl): from requests.exceptions import SSLError - - class Resource(BaseResource, HTTPResource): - class Meta: - app_label = 'dummy' + from passerelle.apps.atos_genesys.models import Resource resource = Resource(slug='slug', verify_cert=True) with pytest.raises(SSLError): -- 2.20.1