Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-websockets/websockets
/ assertEval
Method
assertEval
tests/asyncio/server.py:45–47 ·
view source on GitHub ↗
(self, client, expr, value)
Source
from the content-addressed store, hash-verified
43
44
class
EvalShellMixin:
45
async
def
assertEval(self, client, expr, value):
46
await client.send(expr)
47
self.assertEqual(await client.recv(), value)
Callers
15
test_route_with_query_string
Method · 0.45
test_redirect
Method · 0.45
test_secure_redirect
Method · 0.45
test_process_request_function_returning_none
Method · 0.45
test_process_request_coroutine_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
Calls
2
send
Method · 0.45
recv
Method · 0.45
Tested by
15
test_route_with_query_string
Method · 0.36
test_redirect
Method · 0.36
test_secure_redirect
Method · 0.36
test_process_request_function_returning_none
Method · 0.36
test_process_request_coroutine_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