mirror of https://github.com/zulip/zulip.git
test-backend: Require coverage on most webhook integrations.
This commit is contained in:
parent
18a080cd6c
commit
3ceba5ef1e
|
@ -71,6 +71,7 @@ target_fully_covered = {path for target in [
|
|||
'zerver/lib/upload.py',
|
||||
'zerver/lib/validator.py',
|
||||
'zerver/models.py',
|
||||
'zerver/webhooks/*/*.py',
|
||||
] for path in glob.glob(target)}
|
||||
|
||||
not_yet_fully_covered = {
|
||||
|
@ -91,6 +92,32 @@ not_yet_fully_covered = {
|
|||
'zerver/lib/push_notifications.py',
|
||||
'zerver/lib/upload.py',
|
||||
'zerver/models.py',
|
||||
# Webhook integrations with incomplete coverage
|
||||
'zerver/webhooks/basecamp/view.py',
|
||||
'zerver/webhooks/beanstalk/view.py',
|
||||
'zerver/webhooks/bitbucket2/view.py',
|
||||
'zerver/webhooks/freshdesk/view.py',
|
||||
'zerver/webhooks/github/view.py',
|
||||
'zerver/webhooks/github_webhook/view.py',
|
||||
'zerver/webhooks/gitlab/view.py',
|
||||
'zerver/webhooks/gogs/view.py',
|
||||
'zerver/webhooks/greenhouse/view.py',
|
||||
'zerver/webhooks/hellosign/view.py',
|
||||
'zerver/webhooks/ifttt/view.py',
|
||||
'zerver/webhooks/jira/view.py',
|
||||
'zerver/webhooks/librato/view.py',
|
||||
'zerver/webhooks/newrelic/view.py',
|
||||
'zerver/webhooks/pingdom/view.py',
|
||||
'zerver/webhooks/pivotal/view.py',
|
||||
'zerver/webhooks/semaphore/view.py',
|
||||
'zerver/webhooks/solano/view.py',
|
||||
'zerver/webhooks/stripe/view.py',
|
||||
'zerver/webhooks/taiga/view.py',
|
||||
'zerver/webhooks/teamcity/view.py',
|
||||
'zerver/webhooks/transifex/view.py',
|
||||
'zerver/webhooks/travis/view.py',
|
||||
'zerver/webhooks/updown/view.py',
|
||||
'zerver/webhooks/zapier/view.py',
|
||||
}
|
||||
|
||||
enforce_fully_covered = sorted(target_fully_covered - not_yet_fully_covered)
|
||||
|
|
Loading…
Reference in New Issue