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

Method test_set_secret

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

Source from the content-addressed store, hash-verified

179
180
181 def test_set_secret(self):
182 short_name = "tst"
183 secret_key = "test_key"
184 secret_value = "test_value"
185 description = "loreum epsum"
186 response = self.client.algo("quality/echo").set_secret(short_name, secret_key, secret_value, description)
187 self.assertEqual(response['id'], "959af771-7cd8-4981-91c4-70def15bbcdc", "invalid ID for created secret")
188
189
190else:

Callers

nothing calls this directly

Calls 2

set_secretMethod · 0.80
algoMethod · 0.80

Tested by

no test coverage detected