Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

analytics: Explode coverage checks for analytics/views.

Tim Abbott3e6b90a43323
diff --git a/tools/test-backend b/tools/test-backend
index 4a281922e56..643d27033c3 100755
--- a/tools/test-backend
+++ b/tools/test-backend
@@ -26,7 +26,7 @@ target_fully_covered = [
"analytics/lib/*.py",
"analytics/models.py",
"analytics/tests/*.py",
- "analytics/views.py",
+ "analytics/views/*.py",
# zerver/ and zerver/lib/ are important core files
"zerver/*.py",
"zerver/lib/*.py",
@@ -59,7 +59,11 @@ not_yet_fully_covered = [
# runs before tests.
"analytics/lib/fixtures.py",
# We have 100% coverage on the new stuff; need to refactor old stuff.
- "analytics/views.py",
+ "analytics/views/activity_common.py",
+ "analytics/views/realm_activity.py",
+ "analytics/views/installation_activity.py",
+ "analytics/views/stats.py",
+ "analytics/views/support.py",
# Major lib files should have 100% coverage
"zerver/lib/addressee.py",
"zerver/lib/markdown/__init__.py",