mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
Update stubs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user