Skip to content

Commit

Permalink
Fixed previous fixed error for tests (#118)
Browse files Browse the repository at this point in the history
I commit this same fix, but don't know why it didn't go through (even
though I pushed it)...
  • Loading branch information
Pablo1990 committed Aug 14, 2023
1 parent 5eebef3 commit 94cb621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_projection_widget_run_button(
# use saved image data so we don't run the projection analysis
# when the button is pressed
with patch("epitools.analysis.calculate_projection") as calculate_projection:
calculate_projection.return_value = projected_image.data
calculate_projection.return_value = (projected_image.data, None)
container.run.clicked()

assert len(viewer_with_image.layers) == 2 # noqa: PLR2004
Expand Down

0 comments on commit 94cb621

Please sign in to comment.