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

Method test_get_versions

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

Source from the content-addressed store, hash-verified

54
55 #TODO: add more coverage examples to check kwargs
56 def test_get_versions(self):
57 result = self.client.algo('quality/echo').versions()
58 self.assertTrue('results' in result)
59 self.assertTrue('version_info' in result['results'][0])
60 self.assertTrue('semantic_version' in result['results'][0]['version_info'])
61 self.assertEqual('0.1.0', result['results'][0]['version_info']['semantic_version'])
62
63 def test_text_unicode(self):
64 telephone = u"\u260E"

Callers

nothing calls this directly

Calls 2

versionsMethod · 0.80
algoMethod · 0.80

Tested by

no test coverage detected