Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed May 3, 2024
1 parent 5f9a040 commit d756ea2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/test_im_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())}
Expand Down

0 comments on commit d756ea2

Please sign in to comment.