From 107a524f34365384546d78012bde030c5438dcbb Mon Sep 17 00:00:00 2001 From: Trinh Anh Ngoc Date: Sun, 16 Oct 2022 21:36:26 +0700 Subject: [PATCH] Update stubs --- odoo-stubs/tests/common.pyi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/odoo-stubs/tests/common.pyi b/odoo-stubs/tests/common.pyi index 23f8dc9..2163311 100644 --- a/odoo-stubs/tests/common.pyi +++ b/odoo-stubs/tests/common.pyi @@ -196,8 +196,9 @@ class HttpCase(TransactionCase): def _wait_remaining_requests(self, timeout: int = ...) -> None: ... def logout(self, keep_db: bool = ...) -> None: ... session: OpenERPSession - def authenticate(self, user, password) -> Session: ... - def browser_js(self, url_path: str, code: str, ready: str = ..., login: str | None = ..., timeout: int = ..., **kw) -> None: ... + def authenticate(self, user, password) -> OpenERPSession: ... + def browser_js(self, url_path: str, code: str, ready: str = ..., login: str | None = ..., timeout: int = ..., + cookies: Any | None = ..., **kw) -> None: ... @classmethod def base_url(cls) -> str: ... def start_tour(self, url_path: str, tour_name: str, step_delay: float | None = ..., **kwargs) -> None: ...