tests: Remove upload-custom-emoji from curl test exclude_list.

This commit is contained in:
Vishnu Ks 2019-11-18 15:46:06 +00:00 committed by Tim Abbott
parent 4c5e9e8eb0
commit 76c610c953
2 changed files with 6 additions and 1 deletions

View File

@ -184,3 +184,9 @@ def remove_realm_filters() -> Dict[str, Any]:
return {
"filter_id": filter_id
}
@openapi_param_value_generator(["/realm/emoji/{emoji_name}:post"])
def upload_custom_emoji() -> Dict[str, Any]:
return {
"filename": "zerver/tests/images/animated_img.gif",
}

View File

@ -13,7 +13,6 @@ from zerver.openapi.curl_param_value_generators import REGISTERED_GENERATOR_FUNC
exclude_list = [
# Example files do not exist
'upload-custom-emoji.md',
'upload-file.md',
]