Skip to content

Commit

Permalink
Fixed resolution to display test as it's dynamic now
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed Sep 5, 2024
1 parent 83f45b8 commit 37c45a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_unit/test_stitching_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ def test_stitching_widget_init(make_napari_viewer_proxy):
Test that the StitchingWidget is correctly initialized with the viewer
Currently tests that the viewer is correctly stored, the image_mosaic is
None, the tile_layers list is empty, and the resolution_to_display.
is set to 3.
is set to 2.
"""
viewer = make_napari_viewer_proxy()
stitching_widget = StitchingWidget(viewer)

assert stitching_widget._viewer == viewer
assert stitching_widget.image_mosaic is None
assert len(stitching_widget.tile_layers) == 0
assert stitching_widget.resolution_to_display == 3
assert stitching_widget.resolution_to_display == 2


def test_on_open_file_dialog_clicked(stitching_widget, mocker):
Expand Down

0 comments on commit 37c45a2

Please sign in to comment.