view stubs/autobahn/websocket/test/test_websocket.pyi @ 2095:ce8b66e68cd5

type fixes
author drewp@bigasterisk.com
date Tue, 31 May 2022 00:12:51 -0700
parents 84b5aab10e47
children
line wrap: on
line source

# Stubs for autobahn.websocket.test.test_websocket (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from twisted.trial import unittest
from typing import Any

def create_client_frame(b64patch: Any, **kwargs: Any): ...

mock_handshake_client: bytes
mock_handshake_server: bytes

class TestDeflate(unittest.TestCase):
    def test_max_size(self) -> None: ...
    def test_no_max_size(self) -> None: ...

class TestClient(unittest.TestCase):
    factory: Any = ...
    proto: Any = ...
    transport: Any = ...
    def setUp(self) -> None: ...
    def tearDown(self) -> None: ...
    def test_missing_reason_raw(self) -> None: ...
    def test_unclean_timeout_client(self) -> None: ...

class TestPing(unittest.TestCase):
    factory: Any = ...
    proto: Any = ...
    transport: Any = ...
    def setUp(self) -> None: ...
    def tearDown(self) -> None: ...
    def test_unclean_timeout(self) -> None: ...
    def test_auto_pingpong_timeout(self) -> None: ...
    def test_auto_ping_got_pong(self) -> None: ...