mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-12 23:16:31 +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):
|
class TestCase(TransactionTestCase):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpTestData(cls) -> None: ...
|
def setUpTestData(cls) -> None: ...
|
||||||
|
def captureOnCommitCallbacks(cls, *, using: Optional[str] = ..., execute: bool = ...): ...
|
||||||
|
|
||||||
class CheckCondition:
|
class CheckCondition:
|
||||||
conditions: Sequence[Tuple[Callable, str]] = ...
|
conditions: Sequence[Tuple[Callable, str]] = ...
|
||||||
|
|||||||
Reference in New Issue
Block a user