From 3ceba5ef1ea890f057a7676368f0d20a25cef69b Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 24 Aug 2017 11:32:54 -0700 Subject: [PATCH] test-backend: Require coverage on most webhook integrations. --- tools/test-backend | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/tools/test-backend b/tools/test-backend index 6b883d2021..ef49ec2a85 100755 --- a/tools/test-backend +++ b/tools/test-backend @@ -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)