tests: Remove remove-subscriptions from curl test exclude_list.

This commit is contained in:
Vishnu Ks 2019-11-14 05:34:39 +00:00 committed by Tim Abbott
parent 3efe35e35b
commit 4e15dabcfa
2 changed files with 10 additions and 1 deletions

View File

@ -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"])
def get_events() -> Dict[str, Any]:
profile = helpers.example_user("iago")

View File

@ -14,7 +14,6 @@ exclude_list = [
# 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
# state of the DB. This results in the curl request to fail.
'remove-subscriptions.md',
'delete-stream.md',
'create-user-group.md',
'update-user-group.md',