MCPcopy Create free account
hub / github.com/algorithmiaio/algorithmia-python / test_async_call

Method test_async_call

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

Source from the content-addressed store, hash-verified

31 self.assertEqual("foo", result.result)
32
33 def test_async_call(self):
34 result = self.client.algo('quality/echo').set_options(output=OutputType.void).pipe("foo")
35 self.assertTrue(hasattr(result, "async_protocol"))
36 self.assertTrue(hasattr(result, "request_id"))
37
38 def test_raw_call(self):
39 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