Claude commited on
Commit
066c678
·
unverified ·
1 Parent(s): be12b50

style: format test_app.py for CI (line length)

Browse files
Files changed (1) hide show
  1. tests/ui/test_app.py +4 -1
tests/ui/test_app.py CHANGED
@@ -61,7 +61,10 @@ def test_run_segmentation_logic() -> None:
61
  # Mock everything that touches files/network
62
  with (
63
  patch("stroke_deepisles_demo.ui.app.run_pipeline_on_case", return_value=mock_result),
64
- patch("stroke_deepisles_demo.ui.app.nifti_to_gradio_url", return_value="/gradio_api/file=/tmp/test.nii.gz"),
 
 
 
65
  patch("stroke_deepisles_demo.ui.app.create_niivue_html", return_value="<div></div>"),
66
  patch("stroke_deepisles_demo.ui.app.render_slice_comparison", return_value=MagicMock()),
67
  ):
 
61
  # Mock everything that touches files/network
62
  with (
63
  patch("stroke_deepisles_demo.ui.app.run_pipeline_on_case", return_value=mock_result),
64
+ patch(
65
+ "stroke_deepisles_demo.ui.app.nifti_to_gradio_url",
66
+ return_value="/gradio_api/file=/tmp/test.nii.gz",
67
+ ),
68
  patch("stroke_deepisles_demo.ui.app.create_niivue_html", return_value="<div></div>"),
69
  patch("stroke_deepisles_demo.ui.app.render_slice_comparison", return_value=MagicMock()),
70
  ):