Update stubs for Odoo 15

This commit is contained in:
Trinh Anh Ngoc
2021-10-18 22:54:11 +07:00
parent 30b8009bbd
commit 08737f3b92
78 changed files with 2330 additions and 1986 deletions

View File

@@ -1,22 +1,22 @@
import unittest
from typing import Any, Optional
from typing import Any
_logger: Any
class OdooTestResult(unittest.result.TestResult):
time_start: Any = ...
queries_start: Any = ...
time_start: Any
queries_start: Any
def __init__(self) -> None: ...
def __str__(self): ...
shouldStop: Any = ...
def update(self, other: Any) -> None: ...
def log(self, level: Any, msg: Any, *args: Any, test: Optional[Any] = ..., exc_info: Optional[Any] = ..., extra: Optional[Any] = ..., stack_info: bool = ..., caller_infos: Optional[Any] = ...) -> None: ...
def getDescription(self, test: Any): ...
def startTest(self, test: Any) -> None: ...
def addError(self, test: Any, err: Any) -> None: ...
def addFailure(self, test: Any, err: Any) -> None: ...
def addSubTest(self, test: Any, subtest: Any, err: Any) -> None: ...
def addSkip(self, test: Any, reason: Any) -> None: ...
def addUnexpectedSuccess(self, test: Any) -> None: ...
def logError(self, flavour: Any, test: Any, error: Any) -> None: ...
def getErrorCallerInfo(self, error: Any, test: Any): ...
shouldStop: Any
def update(self, other) -> None: ...
def log(self, level, msg, *args, test: Any | None = ..., exc_info: Any | None = ..., extra: Any | None = ..., stack_info: bool = ..., caller_infos: Any | None = ...) -> None: ...
def getDescription(self, test): ...
def startTest(self, test) -> None: ...
def addError(self, test, err) -> None: ...
def addFailure(self, test, err) -> None: ...
def addSubTest(self, test, subtest, err) -> None: ...
def addSkip(self, test, reason) -> None: ...
def addUnexpectedSuccess(self, test) -> None: ...
def logError(self, flavour, test, error) -> None: ...
def getErrorCallerInfo(self, error, test): ...