MCPcopy
hub / github.com/django/django / test_different_using

Method test_different_using

tests/test_utils/tests.py:2107–2111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2105 self.assertIs(self.callback_called, True)
2106
2107 def test_different_using(self):
2108 with self.captureOnCommitCallbacks(using="default") as callbacks:
2109 self.enqueue_callback(using="other")
2110
2111 self.assertEqual(callbacks, [])
2112
2113 def test_execute(self):
2114 with self.captureOnCommitCallbacks(execute=True) as callbacks:

Callers

nothing calls this directly

Calls 2

enqueue_callbackMethod · 0.95

Tested by

no test coverage detected