MCPcopy Index your code
hub / github.com/algorithmiaio/algorithmia-python / test_async_call

Method test_async_call

Test/regular/algo_test.py:211–214  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 self.assertEqual(bytearray('foo', 'utf-8'), result.result)
210
211 def test_async_call(self):
212 result = self.client.algo('quality/echo').set_options(output=OutputType.void).pipe("foo")
213 self.assertTrue(hasattr(result, "async_protocol"))
214 self.assertTrue(hasattr(result, "request_id"))
215
216 def test_raw_call(self):
217 result = self.client.algo('quality/echo').set_options(output=OutputType.raw).pipe("foo")

Callers

nothing calls this directly

Calls 3

pipeMethod · 0.80
set_optionsMethod · 0.80
algoMethod · 0.80

Tested by

no test coverage detected