Skip to content

Commit

Permalink
Fixed test v2
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed Oct 28, 2024
1 parent 957baa9 commit 467ab16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_unit/test_image_mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def force_set_scale_factors(*args, **kwargs):
assert image_mosaic.intensity_adjusted[resolution_level]
assert len(image_mosaic.scale_factors) == test_constants["NUM_TILES"]

mock_calc_intensity_factors.called_once_with(resolution_level, 50)
mock_calc_intensity_factors.assert_called_once_with(resolution_level, 80)

# Check that no scale adjustment calculations are queued for the tiles
# at the specified resolution level as the correction factors were
Expand Down

0 comments on commit 467ab16

Please sign in to comment.