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:
22
odoo-stubs/tests/runner.pyi
Normal file
22
odoo-stubs/tests/runner.pyi
Normal file
@@ -0,0 +1,22 @@
|
||||
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): ...
|
||||
Reference in New Issue
Block a user