|
13 | 13 | from qiita_db.software import Command, Parameters |
14 | 14 | from qiita_db.user import User |
15 | 15 | from qiita_pet.handlers.api_proxy.processing import ( |
16 | | - process_artifact_handler_get_req, list_commands_handler_get_req, |
17 | | - list_options_handler_get_req, workflow_handler_post_req, |
18 | | - workflow_handler_patch_req, job_ajax_get_req) |
| 16 | + list_commands_handler_get_req, list_options_handler_get_req, |
| 17 | + workflow_handler_post_req, workflow_handler_patch_req, job_ajax_get_req) |
19 | 18 |
|
20 | 19 |
|
21 | 20 | class TestProcessingAPIReadOnly(TestCase): |
22 | | - def test_process_artifact_handler_get_req(self): |
23 | | - obs = process_artifact_handler_get_req(1) |
24 | | - exp = {'status': 'success', |
25 | | - 'message': '', |
26 | | - 'name': 'Raw data 1', |
27 | | - 'type': 'FASTQ', |
28 | | - 'study_id': 1} |
29 | | - self.assertEqual(obs, exp) |
30 | | - |
31 | | - obs = process_artifact_handler_get_req(2) |
32 | | - exp = {'status': 'success', |
33 | | - 'message': '', |
34 | | - 'name': 'Demultiplexed 1', |
35 | | - 'type': 'Demultiplexed', |
36 | | - 'study_id': 1} |
37 | | - self.assertEqual(obs, exp) |
38 | | - |
39 | 21 | def test_list_commands_handler_get_req(self): |
40 | 22 | obs = list_commands_handler_get_req('FASTQ', True) |
41 | 23 | exp = {'status': 'success', |
|
0 commit comments