[fix] bad test

This commit is contained in:
Laurent Peuch 2019-02-06 13:35:09 +01:00
parent ff00183b45
commit b5d6208546

View file

@ -286,7 +286,7 @@ async def github(request):
notify(f"[repository] @{user} {action} new release #{release_tag} {release_title} {url}") notify(f"[repository] @{user} {action} new release #{release_tag} {release_title} {url}")
# https://developer.github.com/v3/activity/events/types/#statusevent # https://developer.github.com/v3/activity/events/types/#statusevent
elif hook_type == "release": elif hook_type == "status":
state = request.json["state"] state = request.json["state"]
description = request.json["description"] description = request.json["description"]
target_url = request.json["target_url"] target_url = request.json["target_url"]