Skip to content

Commit 2646806

Browse files
dolfinusMTSOnGithub
authored andcommitted
Fix tests
1 parent 7cd7abe commit 2646806

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/test_unit/test_groups/test_add_user_to_group.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ async def test_owner_cannot_add_user_to_group_with_wrong_role(
130130
"loc": ["body", "role"],
131131
"msg": "Input should be 'Maintainer', 'Developer' or 'Guest'",
132132
"type": "enum",
133+
"url": "https://errors.pydantic.dev/2.7/v/enum",
133134
}
134135
]
135136
}

tests/test_unit/test_groups/test_update_member_role.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ async def test_owner_of_group_can_not_update_user_role_with_wrong_role(
7878
"loc": ["body", "role"],
7979
"msg": "Input should be 'Maintainer', 'Developer' or 'Guest'",
8080
"type": "enum",
81+
"url": "https://errors.pydantic.dev/2.7/v/enum",
8182
}
8283
]
8384
}

0 commit comments

Comments
 (0)