mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
tests: Remove remove-subscriptions from curl test exclude_list.
This commit is contained in:
@@ -97,6 +97,16 @@ def update_subscription_data() -> Dict[str, List[Dict[str, Any]]]:
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@openapi_param_value_generator(["/users/me/subscriptions:delete"])
|
||||||
|
def delete_subscription_data() -> Dict[str, List[Dict[None, None]]]:
|
||||||
|
iago = helpers.example_user("iago")
|
||||||
|
zoe = helpers.example_user("ZOE")
|
||||||
|
helpers.subscribe(iago, "Verona")
|
||||||
|
helpers.subscribe(iago, "social")
|
||||||
|
helpers.subscribe(zoe, "Verona")
|
||||||
|
helpers.subscribe(zoe, "social")
|
||||||
|
return {}
|
||||||
|
|
||||||
@openapi_param_value_generator(["/events:get"])
|
@openapi_param_value_generator(["/events:get"])
|
||||||
def get_events() -> Dict[str, Any]:
|
def get_events() -> Dict[str, Any]:
|
||||||
profile = helpers.example_user("iago")
|
profile = helpers.example_user("iago")
|
||||||
|
|||||||
@@ -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.
|
||||||
'remove-subscriptions.md',
|
|
||||||
'delete-stream.md',
|
'delete-stream.md',
|
||||||
'create-user-group.md',
|
'create-user-group.md',
|
||||||
'update-user-group.md',
|
'update-user-group.md',
|
||||||
|
|||||||
Reference in New Issue
Block a user