session: Enforce that changes cannot happen in a transaction.

This commit is contained in:
Alex Vandiver
2022-03-09 01:41:27 +00:00
parent d525cf8f9d
commit c28d1169c3
4 changed files with 29 additions and 2 deletions

View File

@@ -133,6 +133,8 @@ not_yet_fully_covered = [
"zerver/webhooks/teamcity/view.py",
"zerver/webhooks/travis/view.py",
"zerver/webhooks/zapier/view.py",
# Cannot have coverage, as tests run in a transaction
"zerver/lib/safe_session_cached_db.py",
]
enforce_fully_covered = sorted(