MCPcopy Create free account
hub / github.com/EasyIME/PIME / test_future

Method test_future

python/python3/tornado/test/concurrent_test.py:115–119  ·  view source on GitHub ↗
(self: typing.Any)

Source from the content-addressed store, hash-verified

113 super().tearDown() # type: ignore
114
115 def test_future(self: typing.Any):
116 future = self.client.capitalize("hello")
117 self.io_loop.add_future(future, self.stop)
118 self.wait()
119 self.assertEqual(future.result(), "HELLO")
120
121 def test_future_error(self: typing.Any):
122 future = self.client.capitalize("HELLO")

Callers

nothing calls this directly

Calls 4

capitalizeMethod · 0.80
add_futureMethod · 0.80
resultMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected