diff --git a/jwst/resample/tests/test_resample_step.py b/jwst/resample/tests/test_resample_step.py index 597e6882a6..87dc4ec959 100644 --- a/jwst/resample/tests/test_resample_step.py +++ b/jwst/resample/tests/test_resample_step.py @@ -831,12 +831,13 @@ def test_resample_undefined_variance(nircam_rate, shape): @pytest.mark.parametrize('ratio', [0.7, 1.2]) @pytest.mark.parametrize('rotation', [0, 15, 135]) -@pytest.mark.parametrize('crpix', [(600, 550), (601, 551)]) -@pytest.mark.parametrize('crval', [(22.04, 11.98), (22.041, 11.981)]) -@pytest.mark.parametrize('shape', [(1205, 1100)]) +@pytest.mark.parametrize('crpix', [(256, 488), (700, 124)]) +@pytest.mark.parametrize('crval', [(22.04019, 11.98262), (22.0404, 11.983)]) +@pytest.mark.parametrize('shape', [(1020, 1010)]) def test_custom_wcs_resample_imaging(nircam_rate, ratio, rotation, crpix, crval, shape): im = AssignWcsStep.call(nircam_rate, sip_approx=False) im.data += 5 + result = ResampleStep.call( im, output_shape=shape, @@ -957,7 +958,7 @@ def test_custom_refwcs_pixel_shape_imaging(nircam_rate, tmp_path): im.data[:, :] = rng.random(im.data.shape) crpix = (600, 550) - crval = (22.04, 11.98) + crval = (22.04019, 11.98262) rotation = 15 ratio = 0.7