Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cassandra-python-driver
/ make_msg
Method
make_msg
tests/unit/io/utils.py:234–235 ·
view source on GitHub ↗
(self, header, body=bytes())
Source
from the content-addressed store, hash-verified
232
return
buf.getvalue()
233
234
def
make_msg(self, header, body=bytes()):
235
return
header + uint32_pack(len(body)) + body
236
237
def
test_successful_connection(self):
238
c = self.make_connection()
Callers
5
test_successful_connection
Method · 0.95
test_protocol_error
Method · 0.95
test_error_message_on_startup
Method · 0.95
test_partial_header_read
Method · 0.95
test_partial_message_read
Method · 0.95
Calls
no outgoing calls
Tested by
5
test_successful_connection
Method · 0.76
test_protocol_error
Method · 0.76
test_error_message_on_startup
Method · 0.76
test_partial_header_read
Method · 0.76
test_partial_message_read
Method · 0.76