mirror of https://github.com/zulip/zulip.git
31986d1b94
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. |
||
---|---|---|
.. | ||
fixtures | ||
__init__.py | ||
doc.md | ||
tests.py | ||
view.py |