diff --git a/tests/test_trailedSourceFilter.py b/tests/test_trailedSourceFilter.py index 7f0d903a..1e33ff7c 100644 --- a/tests/test_trailedSourceFilter.py +++ b/tests/test_trailedSourceFilter.py @@ -20,14 +20,9 @@ def setUp(self): "dec": 0.04*idx + scatter*rng.uniform(-1, 1), "diaSourceId": idx, "diaObjectId": 0, "trailLength": 5.5*idx} for idx in range(self.nSources)]) - exposureTime = 30.0 - boresightRotAngle = 45.6 * lsst.geom.degrees - weather = Weather(1.1, 2.2, 0.3) - visitInfo = afwImage.VisitInfo( - exposureTime=exposureTime, - boresightRotAngle=boresightRotAngle, - weather=weather, - ) + visitInfo = afwImage.VisitInfo(exposureTime=30.0, + weather=Weather(1.1, 2.2, 34.5), + ) exposureInfo = afwImage.ExposureInfo() exposureInfo.setVisitInfo(visitInfo) maskedImage = afwImage.MaskedImageF(lsst.geom.Extent2I(64, 64))