| 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() |