Files
odoo-stubs/odoo-stubs/tests/loader.pyi
Trinh Anh Ngoc 13447cc7f6 Update stubs
2022-10-16 22:59:43 +07:00

12 lines
443 B
Python

from importlib.machinery import ModuleSpec
from typing import Iterator
from .runner import OdooTestResult
from ..tests import OdooSuite
def get_test_modules(module: str) -> list: ...
def _get_tests_modules(mod: ModuleSpec) -> 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: ...