Skip to content

Commit

Permalink
Add a test to check what happens if the user is a MANAGER and a USER
Browse files Browse the repository at this point in the history
  • Loading branch information
nf679 committed Jul 19, 2024
1 parent 28a2f27 commit a931527
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/nlds/test_jasmin_authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@ class TestAuthenticateUserGroupRole:
False,
False,
),
(
"test_user",
"test_group",
MockResponse({"group_workspaces": ["MANAGER", "USER"]}, 200),
True,
False,
),
("test_user", "test_group", MockResponse(None, 500), False, False),
(
"test_user",
Expand Down

0 comments on commit a931527

Please sign in to comment.