mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 14:31:56 +08:00
Add missing type for TestCase.captureOnCommitCallbacks (#1016)
* add missing type for TestCase.captureOnCommitCallbacks * change default value
This commit is contained in:
@@ -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