mirror of
https://github.com/odoo-ide/odoo-stubs.git
synced 2025-05-08 16:52:26 +03:00
23 lines
1.0 KiB
Python
23 lines
1.0 KiB
Python
import unittest
|
|
from typing import Any, Optional
|
|
|
|
_logger: Any
|
|
|
|
class OdooTestResult(unittest.result.TestResult):
|
|
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): ...
|