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:
@@ -1,9 +1,10 @@
|
||||
from typing import Any
|
||||
from typing import Iterator
|
||||
|
||||
_logger: Any
|
||||
from .runner import OdooTestResult
|
||||
from ..tests import OdooSuite
|
||||
|
||||
def get_test_modules(module): ...
|
||||
def _get_tests_modules(path, module): ...
|
||||
def make_suite(module_names, position: str = ...): ...
|
||||
def run_suite(suite, module_name: Any | None = ...): ...
|
||||
def unwrap_suite(test) -> None: ...
|
||||
def get_test_modules(module: str) -> list: ...
|
||||
def _get_tests_modules(path: str, module: str) -> list: ...
|
||||
def make_suite(module_names: list[str], position: str = ...) -> OdooSuite: ...
|
||||
def run_suite(suite: OdooSuite, module_name: str | None = ...) -> OdooTestResult: ...
|
||||
def unwrap_suite(test) -> Iterator: ...
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
import unittest
|
||||
from typing import Any
|
||||
|
||||
_logger: Any
|
||||
|
||||
class OdooTestResult(unittest.result.TestResult):
|
||||
time_start: Any
|
||||
queries_start: Any
|
||||
time_start: float | None
|
||||
queries_start: int | None
|
||||
def __init__(self) -> None: ...
|
||||
def __str__(self): ...
|
||||
def __str__(self) -> str: ...
|
||||
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 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: ...
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
from typing import Any
|
||||
from argparse import Namespace
|
||||
|
||||
_logger: Any
|
||||
BLACKLIST: Any
|
||||
IGNORE: Any
|
||||
BLACKLIST: set[str]
|
||||
IGNORE: tuple[str, ...]
|
||||
|
||||
def install(db_name, module_id, module_name) -> None: ...
|
||||
def uninstall(db_name, module_id, module_name) -> None: ...
|
||||
def cycle(db_name, module_id, module_name) -> None: ...
|
||||
def parse_args(): ...
|
||||
def test_full(args): ...
|
||||
def test_uninstall(args) -> None: ...
|
||||
def test_scripts(args) -> None: ...
|
||||
def install(db_name: str, module_id: int, module_name: str) -> None: ...
|
||||
def uninstall(db_name: str, module_id: int, module_name: str) -> None: ...
|
||||
def cycle(db_name: str, module_id: int, module_name: str) -> None: ...
|
||||
def parse_args() -> Namespace: ...
|
||||
def test_full(args: Namespace) -> None: ...
|
||||
def test_uninstall(args: Namespace) -> None: ...
|
||||
def test_scripts(args: Namespace) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user