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

Method test_dict_call

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

Source from the content-addressed store, hash-verified

40 self.assertEqual("foo", result)
41
42 def test_dict_call(self):
43 result = self.client.algo('quality/echo').pipe({"foo": "bar"})
44 self.assertEqual("json", result.metadata.content_type)
45 self.assertEqual({"foo": "bar"}, result.result)
46
47 def test_algo_exists(self):
48 result = self.client.algo('quality/echo').exists()

Callers

nothing calls this directly

Calls 2

pipeMethod · 0.80
algoMethod · 0.80

Tested by

no test coverage detected