Files
odoo-stubs/odoo-stubs/tests/loader.pyi
Trinh Anh Ngoc 67ab41bbac Update stubs
2023-05-17 15:06:56 +07:00

13 lines
483 B
Python

from types import ModuleType
from typing import Iterator
from .runner import OdooTestResult
from ..tests import OdooSuite
def get_test_modules(module: str) -> list: ...
def _get_tests_modules(path: str, module: str) -> list: ...
def _get_upgrade_test_modules(module) -> Iterator[ModuleType]: ...
def make_suite(module_name: str, position: str = ...) -> OdooSuite: ...
def run_suite(suite: OdooSuite, module_name: str) -> OdooTestResult: ...
def unwrap_suite(test) -> Iterator: ...