From 26e5a226b5bc5248a9ccbe4bc77c48ff5ae231cb Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 6 Sep 2018 12:14:02 +0200 Subject: [PATCH] test --- tests_authentic/test_hobo_deploy.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests_authentic/test_hobo_deploy.py b/tests_authentic/test_hobo_deploy.py index 4b2f96b..47bb535 100644 --- a/tests_authentic/test_hobo_deploy.py +++ b/tests_authentic/test_hobo_deploy.py @@ -19,8 +19,9 @@ def skeleton_dir(request, settings): return settings.HOBO_SKELETONS_DIR -def test_hobo_deploy(tenant_base, settings, mocker, skeleton_dir): +def test_hobo_deploy(tenant_base, mocker, skeleton_dir): from django.core.management import call_command + from django.conf import settings # Create skeleton roles.json os.makedirs(os.path.join(skeleton_dir, 'commune', 'wcs')) @@ -341,6 +342,12 @@ def test_hobo_deploy(tenant_base, settings, mocker, skeleton_dir): for at in Attribute.all_objects.all(): assert [field for field in env['profile']['fields'] if field['name'] == at.name] + + # OIDC checks + from authentic2_idp_oidc.utils import get_jwkset + assert get_jwkset() + + # SAML checks from authentic2.saml.models import (SPOptionsIdPPolicy, LibertyProvider, LibertyServiceProvider) -- 2.18.0