Update stubs

This commit is contained in:
Trinh Anh Ngoc
2024-09-09 21:11:02 +07:00
parent 6c6b724353
commit 32c879121f
2 changed files with 6 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ class Stream:
self,
as_attachment: bool | None = ...,
immutable: bool | None = ...,
content_security_policy: str = ...,
**send_file_kwargs
) -> werkzeug.Response: ...

View File

@@ -8,6 +8,7 @@ from xmlrpc import client as xmlrpclib
import requests
from odoo.addons.base.models.res_users import Users
from urllib3.util import Url
from websocket import WebSocket
from ..api import Environment
@@ -200,6 +201,10 @@ class HttpCase(TransactionCase):
xmlrpc_object: xmlrpclib.ServerProxy
opener: Opener
def setUp(self) -> None: ...
def parse_http_location(self, location: str) -> Url: ...
def assertURLEqual(
self, test_url: str, truth_url: str, message: str | None = ...
) -> None: ...
@classmethod
def start_browser(cls) -> None: ...
@classmethod