From ff2157c78755926bf077ba0d45511c3c3b7fd334 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 9 May 2018 16:17:06 -0700 Subject: [PATCH] coverage: Exclude api_test_helpers.py from backend test coverage. These files are tested by a different test suite, and in practice have 100% coverage; no need to double-measure it. --- tools/coveragerc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/coveragerc b/tools/coveragerc index f85e9f6753..9e15f5b100 100644 --- a/tools/coveragerc +++ b/tools/coveragerc @@ -21,6 +21,8 @@ omit = tools/test-backend zerver/lib/test_fixtures.py zerver/lib/test_runner.py + # For API tests + zerver/lib/api_test_helpers.py # Part of provisioning/populate_db zerver/lib/generate_test_data.py # Excluded because its coverage state is flaky.