Glossary: Django Beyond the Basics
captureOnCommitCallbacks
Also written: self.captureOnCommitCallbacks(execute=True)
A test helper that runs `on_commit` functions when its block ends. It is needed because a `TestCase` never really commits.
Glossary: Django Beyond the Basics
Also written: self.captureOnCommitCallbacks(execute=True)
A test helper that runs `on_commit` functions when its block ends. It is needed because a `TestCase` never really commits.