Skip to content
Snippets Groups Projects
Commit 6a0505a4 authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Outdated test

parent dae64e30
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment