zulip/zerver/webhooks/github_webhook
Eeshan Garg 31986d1b94 github_webhook: Update "pull_request unassigned" event fixture.
The older fixture for this event assumed that the "assignee" key
had a value of '{}' if no one was assigned to a PR anymore.
However, that is no longer true because testing with requestbin
showed that in the latest JSON payload for this event, the key
"assignee" now has the value of 'null' (None when converted to
Python) when a user is unassigned from a PR. The current code
didn't handle this correctly. This commit makes sure it does!

Its unclear as to whether the old fixture was simply wrong or
whether GitHub changed its payloads in any way.
2017-08-24 16:48:00 -07:00
..
fixtures github_webhook: Update "pull_request unassigned" event fixture. 2017-08-24 16:48:00 -07:00
__init__.py Make webhooks as separate modules with view and tests. 2017-01-25 23:14:19 -08:00
doc.md github_webhook/doc.md: Add link to deprecated Github Services integration. 2017-08-10 10:21:53 -07:00
tests.py github_webhook: Update "pull_request unassigned" event fixture. 2017-08-24 16:48:00 -07:00
view.py github_webhook: Update "pull_request unassigned" event fixture. 2017-08-24 16:48:00 -07:00