Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-16 22:59:43 +07:00
parent 970c6689f2
commit 13447cc7f6

View File

@@ -1,10 +1,11 @@
from importlib.machinery import ModuleSpec
from typing import Iterator from typing import Iterator
from .runner import OdooTestResult from .runner import OdooTestResult
from ..tests import OdooSuite from ..tests import OdooSuite
def get_test_modules(module: str) -> list: ... def get_test_modules(module: str) -> list: ...
def _get_tests_modules(path: str, module: str) -> list: ... def _get_tests_modules(mod: ModuleSpec) -> list: ...
def make_suite(module_names: list[str], position: str = ...) -> OdooSuite: ... def make_suite(module_names: list[str], position: str = ...) -> OdooSuite: ...
def run_suite(suite: OdooSuite, module_name: str | None = ...) -> OdooTestResult: ... def run_suite(suite: OdooSuite, module_name: str | None = ...) -> OdooTestResult: ...
def unwrap_suite(test) -> Iterator: ... def unwrap_suite(test) -> Iterator: ...