Detect missing db/cur arguments in 'nested' calls and raise an error.
Compare changes
Files
2+ 42
− 0
@@ -363,6 +363,48 @@ def test_db_transaction_signature():
We often forget these (eg. swh-storage!359 (closed)); this diff should prevent most mistakes in the future.
On the other hand, it's not fool-proof and is a terrible hack...
Migrated from D2846 (view on Phabricator)