MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / parse_hello_response

Function parse_hello_response

test/test_server_description.py:34–36  ·  view source on GitHub ↗
(doc)

Source from the content-addressed store, hash-verified

32
33
34def parse_hello_response(doc):
35 hello_response = Hello(doc)
36 return ServerDescription(address, hello_response)
37
38
39class TestServerDescription(unittest.TestCase):

Callers 14

test_mongosMethod · 0.85
test_primaryMethod · 0.85
test_secondaryMethod · 0.85
test_arbiterMethod · 0.85
test_otherMethod · 0.85
test_ghostMethod · 0.85
test_fieldsMethod · 0.85
test_defaultsMethod · 0.85
test_standaloneMethod · 0.85
test_ok_falseMethod · 0.85
test_all_hostsMethod · 0.85
test_reprMethod · 0.85

Calls 2

HelloClass · 0.90
ServerDescriptionClass · 0.90

Tested by

no test coverage detected