diff --git a/tests/test_defects.py b/tests/test_defects.py index 5c5e2fc3..ea58bc78 100644 --- a/tests/test_defects.py +++ b/tests/test_defects.py @@ -888,7 +888,7 @@ def test_edgeMasking(self): testImage = self.flatExp.clone() mi = testImage.maskedImage - self.assertEqual(countMaskedPixels(mi, 'EDGE'), 0) + self.assertEqual(ipIsr.countMaskedPixels(mi, 'EDGE'), 0) self.defaultTask._setEdgeBits(mi) hEdge = self.defaultConfig.nPixBorderLeftRight @@ -897,7 +897,7 @@ def test_edgeMasking(self): nEdge = xSize*vEdge*2 + ySize*hEdge*2 - hEdge*vEdge*4 - self.assertEqual(countMaskedPixels(mi, 'EDGE'), nEdge) + self.assertEqual(ipIsr.countMaskedPixels(mi, 'EDGE'), nEdge) def test_badImage(self): """Check that fully-bad images do not fail. diff --git a/tests/test_deferredCharge.py b/tests/test_deferredCharge.py index 3e8f5551..08a1e374 100644 --- a/tests/test_deferredCharge.py +++ b/tests/test_deferredCharge.py @@ -28,7 +28,7 @@ import lsst.utils.tests import lsst.cp.pipe as cpPipe -from lsst.ip.isr import IsrMock +from lsst.ip.isr.isrMock import IsrMock class CpCtiSolveTaskTestCase(lsst.utils.tests.TestCase):