| 79 | self.assertTrue(result['results'][0]['resource_type'] == "algorithm") |
| 80 | |
| 81 | def test_update_algo(self): |
| 82 | details = { |
| 83 | "summary": "Example Summary", |
| 84 | "label": "QA", |
| 85 | "tagline": "Example Tagline" |
| 86 | } |
| 87 | settings = { |
| 88 | "source_visibility": "open", |
| 89 | "algorithm_environment": self.environment_id, |
| 90 | "license": "apl", |
| 91 | "network_access": "isolated", |
| 92 | "pipeline_enabled": False |
| 93 | } |
| 94 | version_info = { |
| 95 | "sample_input": "hello" |
| 96 | } |
| 97 | result = self.client.algo('quality/echo').update(details=details, settings=settings, version_info=version_info) |
| 98 | self.assertTrue('id' in result) |
| 99 | |
| 100 | |
| 101 | def test_get_build_by_id(self): |