Update stubs

This commit is contained in:
Trinh Anh Ngoc
2023-07-17 15:23:05 +07:00
parent 7359fabb64
commit dfec1b8718

View File

@@ -4,6 +4,7 @@ import unittest
from itertools import count from itertools import count
from re import Pattern from re import Pattern
from typing import Any, Callable, Generator, Generic, Iterator, Mapping, Match, TypeVar from typing import Any, Callable, Generator, Generic, Iterator, Mapping, Match, TypeVar
from unittest.mock import Mock
from xmlrpc import client as xmlrpclib from xmlrpc import client as xmlrpclib
import requests import requests
@@ -87,6 +88,7 @@ class BaseCase(TreeCase):
) -> None: ... ) -> None: ...
def shortDescription(self) -> None: ... def shortDescription(self) -> None: ...
def assertItemsEqual(self, a, b, msg: str | None = ...) -> None: ... def assertItemsEqual(self, a, b, msg: str | None = ...) -> None: ...
def patch_requests(self) -> Mock: ...
class TransactionCase(BaseCase): class TransactionCase(BaseCase):
registry: Registry registry: Registry