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

Method test_algo_info

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

Source from the content-addressed store, hash-verified

73 self.assertEqual(telephone, result2.result)
74
75 def test_algo_info(self):
76 result = self.client.algo('quality/echo').info()
77 self.assertTrue('results' in result)
78 self.assertTrue('resource_type' in result['results'][0])
79 self.assertTrue(result['results'][0]['resource_type'] == "algorithm")
80
81 def test_update_algo(self):
82 details = {

Callers

nothing calls this directly

Calls 2

infoMethod · 0.80
algoMethod · 0.80

Tested by

no test coverage detected