From 6a0505a4714a5f81cea7d9ff1e5d9d4058dd2396 Mon Sep 17 00:00:00 2001 From: Christopher Rhodes <christopher.rhodes@embl.de> Date: Fri, 25 Oct 2024 11:51:46 +0200 Subject: [PATCH] Outdated test --- tests/base/test_api.py | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/tests/base/test_api.py b/tests/base/test_api.py index 9593b7f3..c2218b78 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 -- GitLab