0001-test.patch
tests_authentic/test_hobo_deploy.py | ||
---|---|---|
19 | 19 |
return settings.HOBO_SKELETONS_DIR |
20 | 20 | |
21 | 21 | |
22 |
def test_hobo_deploy(tenant_base, settings, mocker, skeleton_dir):
|
|
22 |
def test_hobo_deploy(tenant_base, mocker, skeleton_dir): |
|
23 | 23 |
from django.core.management import call_command |
24 |
from django.conf import settings |
|
24 | 25 | |
25 | 26 |
# Create skeleton roles.json |
26 | 27 |
os.makedirs(os.path.join(skeleton_dir, 'commune', 'wcs')) |
... | ... | |
341 | 342 |
for at in Attribute.all_objects.all(): |
342 | 343 |
assert [field for field in env['profile']['fields'] |
343 | 344 |
if field['name'] == at.name] |
345 | ||
346 |
# OIDC checks |
|
347 |
from authentic2_idp_oidc.utils import get_jwkset |
|
348 |
assert get_jwkset() |
|
349 | ||
350 |
# SAML checks |
|
344 | 351 |
from authentic2.saml.models import (SPOptionsIdPPolicy, |
345 | 352 |
LibertyProvider, |
346 | 353 |
LibertyServiceProvider) |
347 |
- |