diff --git a/tests/base/test_api.py b/tests/base/test_api.py index 9593b7f3a6b4748d7d228c89b0c619f3c38f0677..c2218b78a115ea35c29272269fe2362f663479cf 100644 --- a/tests/base/test_api.py +++ b/tests/base/test_api.py @@ -43,16 +43,6 @@ class TestApiFromAutomatedClient(TestServerBaseClass): self.assertEqual(rl[mid]['class'], 'DummyInstanceSegmentationModel') return mid - def test_respond_with_error_when_invalid_filepath_requested(self): - self.assertPutFailure( - f'infer/from_image_file', - 404, - query={ - 'model_id': self.test_load_dummy_semantic_model(), - 'input_filename': 'not_a_real_file.name', - } - ) - def test_pipeline_errors_when_ids_not_found(self): fname = self.copy_input_file_to_server() model_id = self.assertPutSuccess(f'testing/models/dummy_semantic/load')['model_id'] @@ -188,4 +178,7 @@ class TestApiFromAutomatedClient(TestServerBaseClass): mid = self.assertPutSuccess( '/models/seg/binary_threshold/load/', body={'channel': 0, 'tr': 10} )['model_id'] - return mid \ No newline at end of file + return mid + + def test_use_binary_segmentation_model(self): + self. \ No newline at end of file