diff --git a/test/unit/test_im_logic.py b/test/unit/test_im_logic.py index c8a2f461..4e0b6dfb 100644 --- a/test/unit/test_im_logic.py +++ b/test/unit/test_im_logic.py @@ -1153,6 +1153,8 @@ def test_check_oidc_groups(self, openidclient): self.assertEqual(str(ex.exception), "Error trying to validate OIDC auth token: Invalid InfrastructureManager" + " credentials. User not in configured groups.") + + Config.OIDC_GROUPS = [] def test_inf_auth_with_token(self): im_auth = {"token": (self.gen_token())}