Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
coverage: Skip zerver.lib.migrate coverage.
Alex Vandiver067de6f948fb
diff --git a/tools/test-backend b/tools/test-backendindex c709e23e79c..415a4391352 100755--- a/tools/test-backend+++ b/tools/test-backend@@ -122,6 +122,9 @@ not_yet_fully_covered = [# Cannot have coverage, as tests run in a transaction"zerver/lib/safe_session_cached_db.py","zerver/lib/singleton_bmemcached.py",+ # Only covered when we run migrations tests, which are not+ # guaranteed to exist or be runnable+ "zerver/lib/migrate.py",# Branches in Django settings files are hard to test"zproject/computed_settings.py","zproject/dev_settings.py",diff --git a/zerver/lib/migrate.py b/zerver/lib/migrate.pyindex ab1b7b3d242..5c341e6e013 100644--- a/zerver/lib/migrate.py+++ b/zerver/lib/migrate.py@@ -11,7 +11,7 @@ def do_batch_update(assignments: List[Composable],batch_size: int = 10000,sleep: float = 0.1,-) -> None: # nocoverage+) -> None:# The string substitution below is complicated by our need to# support multiple PostgreSQL versions.stmt = SQL(