mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-22 05:47:12 +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):
|
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