Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ assertEval
Method
assertEval
tests/sync/server.py:34–36 ·
view source on GitHub ↗
(self, client, expr, value)
Source
from the content-addressed store, hash-verified
32
33
class
EvalShellMixin:
34
def
assertEval(self, client, expr, value):
35
client.send(expr)
36
self.assertEqual(client.recv(), value)
37
38
39
@contextlib.contextmanager
Callers
15
test_route_with_query_string
Method · 0.45
test_process_request_returning_none
Method · 0.45
test_custom_router_factory
Method · 0.45
test_connection
Method · 0.45
test_existing_socket
Method · 0.45
test_select_subprotocol
Method · 0.45
test_compression_is_enabled
Method · 0.45
test_disable_compression
Method · 0.45
test_process_request_returns_none
Method · 0.45
test_process_response_returns_none
Method · 0.45
test_override_server
Method · 0.45
test_remove_server
Method · 0.45
Calls
2
send
Method · 0.45
recv
Method · 0.45
Tested by
15
test_route_with_query_string
Method · 0.36
test_process_request_returning_none
Method · 0.36
test_custom_router_factory
Method · 0.36
test_connection
Method · 0.36
test_existing_socket
Method · 0.36
test_select_subprotocol
Method · 0.36
test_compression_is_enabled
Method · 0.36
test_disable_compression
Method · 0.36
test_process_request_returns_none
Method · 0.36
test_process_response_returns_none
Method · 0.36
test_override_server
Method · 0.36
test_remove_server
Method · 0.36