0009-tests-remove-non-apps-installable-ressource-class-30.patch
tests/test_generic_endpoint.py | ||
---|---|---|
335 | 335 | |
336 | 336 |
def test_https_warnings(app, db, monkeypatch, httpbin_secure, relax_openssl): |
337 | 337 |
from requests.exceptions import SSLError |
338 | ||
339 |
class Resource(BaseResource, HTTPResource): |
|
340 |
class Meta: |
|
341 |
app_label = 'dummy' |
|
338 |
from passerelle.apps.atos_genesys.models import Resource |
|
342 | 339 | |
343 | 340 |
resource = Resource(slug='slug', verify_cert=True) |
344 | 341 |
with pytest.raises(SSLError): |
345 |
- |