From 75cc496e216c1533ced1aa18a658480fe0f68aa1 Mon Sep 17 00:00:00 2001 From: Cor Zuurmond Date: Wed, 8 May 2024 14:13:56 +0200 Subject: [PATCH] Assert if group name is in cluser policy --- tests/integration/test_ext_hms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/test_ext_hms.py b/tests/integration/test_ext_hms.py index ddbc06b8da..7df75afd67 100644 --- a/tests/integration/test_ext_hms.py +++ b/tests/integration/test_ext_hms.py @@ -170,4 +170,5 @@ def test_running_real_assessment_job_ext_hms( assert ext_hms_ctx.deployed_workflows.validate_step("assessment") after = ext_hms_ctx.generic_permissions_support.load_as_dict("cluster-policies", cluster_policy.policy_id) + assert ws_group_a.display_name in after, f"Group {ws_group_a.display_name} not found in cluster policy" assert after[ws_group_a.display_name] == PermissionLevel.CAN_USE