mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
tests: Remove create-user-group from curl test exclude_list.
This commit is contained in:
@@ -142,3 +142,9 @@ def get_user_presence() -> Dict[None, None]:
|
|||||||
client = Client.objects.create(name="curl-test-client-3")
|
client = Client.objects.create(name="curl-test-client-3")
|
||||||
update_user_presence(iago, client, timezone_now(), UserPresence.ACTIVE, False)
|
update_user_presence(iago, client, timezone_now(), UserPresence.ACTIVE, False)
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
|
@openapi_param_value_generator(["/user_groups/create:post"])
|
||||||
|
def create_user_group_data() -> Dict[str, Any]:
|
||||||
|
return {
|
||||||
|
"members": [helpers.example_user("hamlet").id, helpers.example_user("othello").id]
|
||||||
|
}
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ exclude_list = [
|
|||||||
# The endpoint in these docs expect one or more param values that reflects the DB state.
|
# The endpoint in these docs expect one or more param values that reflects the DB state.
|
||||||
# We currently get the example values from openapi specs and they don't refelect the
|
# We currently get the example values from openapi specs and they don't refelect the
|
||||||
# state of the DB. This results in the curl request to fail.
|
# state of the DB. This results in the curl request to fail.
|
||||||
'create-user-group.md',
|
|
||||||
'update-user-group.md',
|
'update-user-group.md',
|
||||||
'delete-user-group.md',
|
'delete-user-group.md',
|
||||||
'update-stream.md',
|
'update-stream.md',
|
||||||
|
|||||||
Reference in New Issue
Block a user