zulip/zerver/webhooks
Steve Howell c235333041 test performance: Pass in users to api_* helpers.
This reduces query counts in some cases, since
we no longer need to look up the user again. In
particular, it reduces some noise when we
count queries for O(N)-related tests.

The query count is usually reduced by 2 per
API call.  We no longer need to look up Realm
and UserProfile.  In most cases we are saving
these lookups for the whole tests, since we
usually already have the `user` objects for
other reasons.  In a few places we are simply
moving where that query happens within the
test.

In some places I shorten names like `test_user`
or `user_profile` to just be `user`.
2020-03-11 14:18:29 -07:00
..
airbrake python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
alertmanager integrations: Add AlertManager webhook. 2020-02-14 17:43:15 -08:00
ansibletower webhooks/ansibletower: Update for AWX 9.1.1. 2020-02-02 20:21:03 -08:00
appfollow python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
appveyor python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
basecamp python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
beanstalk test performance: Pass in users to api_* helpers. 2020-03-11 14:18:29 -07:00
beeminder python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
bitbucket test performance: Pass in users to api_* helpers. 2020-03-11 14:18:29 -07:00
bitbucket2 python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
bitbucket3 python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
buildbot python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
circleci python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
clubhouse python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
codeship python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
crashlytics python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
delighted python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
deskdotcom test performance: Pass in users to api_* helpers. 2020-03-11 14:18:29 -07:00
dialogflow python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
dropbox python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
errbit integrations: Add errbit integration. 2020-01-16 15:33:51 -08:00
flock python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
freshdesk test performance: Pass in users to api_* helpers. 2020-03-11 14:18:29 -07:00
front python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
gci python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
gitea python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
github webhooks: Add team reviewers support in github webhook. 2020-03-10 16:29:59 -07:00
gitlab python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
gocd python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
gogs python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
gosquared python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
greenhouse python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
groove python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
harbor python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
hellosign webhooks: Fix hellosign webhook. 2020-02-12 22:36:11 -08:00
helloworld webhooks: Fix typo in test_stream_error_pm_to_bot_owner comment. 2020-01-30 12:13:54 -08:00
heroku python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
homeassistant python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
honeybadger/fixtures inetgrations: Add webhook payloads for Honeybadger. 2018-01-02 11:45:33 -05:00
ifttt python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
insping python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
intercom python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
jira python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
librato python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
mention python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
netlify python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
newrelic python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
opbeat python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
opsgenie python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
pagerduty python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
papertrail python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
pingdom python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
pivotal python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
raygun python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
reviewboard python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
rollbar/fixtures integrations: Add webhook payloads for rollbar. 2018-01-11 06:32:37 -05:00
runscope/fixtures integrations: Add webhook payloads for Runscope. 2017-12-29 07:27:20 -05:00
semaphore python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
sentry python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
slack python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
solano python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
splunk python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
stash/fixtures webhooks: Rename webhook fixtures to only include event type. 2017-05-13 20:07:40 -02:30
statuspage python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
stripe python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
taiga integrations: Improved Taiga Integration. 2020-03-04 16:52:52 -08:00
teamcity python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
transifex python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
travis python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
trello python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
updown python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
wordpress python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
yo python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
zabbix python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
zapier python: Sort webhooks imports with isort. 2020-01-14 13:07:47 -08:00
zendesk test performance: Pass in users to api_* helpers. 2020-03-11 14:18:29 -07:00
__init__.py