MCPcopy Create free account
hub / github.com/apache/qpid-proton / test

Method test

python/tests/proton_tests/utils.py:110–115  ·  view source on GitHub ↗
(name, address="x")

Source from the content-addressed store, hash-verified

108 ensureCanTestExtendedSASL()
109
110 def test(name, address="x"):
111 for i in range(5):
112 body = "%s%s" % (name, i)
113 response = client.call(Message(address=address, body=body))
114 self.assertEqual(response.address, client.reply_to)
115 self.assertEqual(response.body, body)
116
117 server = EchoServer(Url(host="127.0.0.1", port=free_tcp_port()), self.timeout)
118 server.start()

Callers

nothing calls this directly

Calls 4

MessageClass · 0.90
rangeFunction · 0.85
assertEqualMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected