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

Method test_edit_org

Test/regular/client_test.py:69–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67 self.assertTrue(len(internal) == 1)
68
69 def test_edit_org(self):
70 org_name = "a_myOrg84"
71
72 obj = {
73 "id": "b85d8c4e-7f3c-40b9-9659-6adc2cb0e16f",
74 "org_name": "a_myOrg84",
75 "org_label": "some label",
76 "org_contact_name": "Some owner",
77 "org_email": "a_myOrg84@algo.com",
78 "org_created_at": "2020-11-30T23:51:40",
79 "org_url": "https://algorithmia.com",
80 "type_id": "basic",
81 "resource_type": "organization"
82 }
83
84 response = self.client.edit_org(org_name, obj)
85 if type(response) is dict:
86 print(response)
87 else:
88 self.assertEqual(204, response.status_code)
89
90 def test_get_supported_languages(self):
91 response = self.client.get_supported_languages()

Callers

nothing calls this directly

Calls 1

edit_orgMethod · 0.80

Tested by

no test coverage detected