zulip/zerver/webhooks/papertrail
Steve Howell 388053db6b webhook tests: Rename main helper to check_webhook.
Almost all webhook tests use this helper, except a few
webhooks that write to private streams.

Being concise is important here, and the name
`self.send_and_test_stream_message` always confused
me, since it sounds you're sending a stream message,
and it leaves out the webhook piece.

We should consider renaming `send_and_test_private_message`
to something like `check_webhook_private`, but I couldn't
decide on a great name, and it's very rarely used.  So
for now I just made sure the docstrings of the two
sibling functions reference each other.
2020-08-24 12:34:46 -07:00
..
fixtures webhooks: Fix invalid JSON in Papertrail test fixtures. 2020-08-07 15:07:27 -07:00
__init__.py
doc.md webhooks/papertrail: Update docs to conform to style guide. 2018-04-23 00:07:19 -07:00
tests.py webhook tests: Rename main helper to check_webhook. 2020-08-24 12:34:46 -07:00
view.py papertrail: Replace custom validator with check_dict. 2020-06-20 22:29:15 -07:00