mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-19 04:21:30 +08:00
Add missing type for TestCase.captureOnCommitCallbacks (#1016)
* add missing type for TestCase.captureOnCommitCallbacks * change default value
This commit is contained in:
1 parent
44157a4b03
commit
dd0fe02367
1 file changed
+1
@@ -183,6 +183,7 @@ class TransactionTestCase(SimpleTestCase):
|
||||
class TestCase(TransactionTestCase):
|
||||
@classmethod
|
||||
def setUpTestData(cls) -> None: ...
|
||||
def captureOnCommitCallbacks(cls, *, using: Optional[str] = ..., execute: bool = ...): ...
|
||||
|
||||
class CheckCondition:
|
||||
conditions: Sequence[Tuple[Callable, str]] = ...
|
||||
|
||||
Reference in new issue
Block a user