This page can be used to track progress on migrating the DM and Sims software stack to use pytest.
Install pytest using:
conda install pytest
Each package will have a JIRA ticket with an associated git branch. Share the branch and work on test files independently. Do one commit per test file. Take ownership of specific files by annotating the item on this page with your name. Tick the check box when the file runs with pytest. If a package is not listed below, add it and create a JIRA ticket.
Instructions for using pytest can be found in the developer guide. A migration guide can be found at SQR-012.
AFW - DM-7207Getting issue details... STATUS
DO NOT TOUCH AFW UNTIL - DM-7152Getting issue details... STATUS HAS BEEN COMPLETED
- angle.py
- approximate.py
- background.py
- box.py
- color.py
- convolve.py
- coord.py
- coordinates.py
- coordptr.py
- display.py
- ellipse.py
- exposure.py
- footprint1.py
- footprint2.py
- footprintEllipse.py
- footprintMergeCatalog.py
- function.py
- header.py
- heavyFootprint.py
- image.py
- imageIo1.py
- imageIo2.py
- imagePca.py
- imagePersistence1.py
- imagePickle.py
- interpolate.py
- kernel.py
- kernelImagesForRegion.py
- kernelIo1.py
- mask.py
- maskedImage.py
- maskedImageIO.py
- maskedImagePersistence1.py
- matchFits.py
- minimize.py
- offsetImage.py
- pickles.py
- polygon.py
- random1.py
- rgb.py
- rowColumnStats.py
- scaledPlus.py
- sourceMatch.py
- spatialCell.py
- spline.py
- stacker.py
- statBug1697.py
- statClipException1045.py
- statistics.py
- statisticsMasked.py
- statisticsOverloads.py
- test1079.py
- testAmpInfoTable.py
- testApCorrMap.py
- testAstropyTableViews.py
- testCamGeomFitsUtils.py
- testCameraGeom.py
- testCameraSys.py
- testCameraTransformMap.py
- testChebyshevBoundedField.py
- testDetector.py
- testDistortedTanWcs.py
- testDs9.py
- testExposureTable.py
- testFluxFromABMag.py
- testFunctor.py
- testFunctorKeys.py
- testGaussianProcess.py
- testGaussianPsf.py
- testGeomTestUtils.py
- testImageTestUtils.py
- testLeastSquares.py
- testMakePixelToTanPixel.py
- testMakeWcs.py
- testOrientation.py
- testRaWrap.py
- testSchema.py
- testSeparableXYTransform.py
- testSimpleTable.py
- testSourceTable.py
- testTableAliases.py
- testTableArchiveImport.py
- testTableUtils.py
- testTestMethods.py
- testValidPolygon.py
- testWcs835.py
- testWcsFitsTable.py
- testXYTransform.py
- ticket2019.py
- ticket2026.py
- ticket2162.py
- ticket2233.py
- ticket2352.py
- ticket2707.py
- ticket2905.py
- ticketDM-433.py
- warpExposure.py
- warper.py
- wcs1.py
pipe_base - DM-7232Getting issue details... STATUS
- testArgumentParser.py
- testCmdLineTask.py Hsin-Fang Chiang
- testShowTasks.py Unknown User (mtpatter)
- testStruct.py
- testTask.py Unknown User (vpk24)
daf_butlerUtils - DM-7230Getting issue details... STATUS
- cameraMapper.py Unknown User (npease)
- outputRoot.py Fred Moolekamp
- testDM-329.py
cat - DM-7231Getting issue details... STATUS
- testCleanupExpiredRuns.py
- testDbSetup.py
- testMySQLBase.py
- timeFuncs.py
meas_astrom - DM-3904Getting issue details... STATUS
- createWcsWithSip.py Russell Owen
- lsf1d.py Russell Owen
- lsf2d.py Russell Owen
- openFiles.py Russell Owen
- testAstrometryTask.py Russell Owen
- testFindAstrometryNetDataDir.py
- testFitTanSipWcsHighOrder.py
- testFitTanSipWcsTask.py
- testJoinMatchListWithCatalog.py
- testLoadAstrometryNetObjects.py
- testMakeMatchStatistics.py
- testMatchOptimisticB.py Angelo Fausti
- testMultiIndex.py
- testSetMatchDistance.py
- testSipTransformations.py
- ticket1979.py
meas_base - DM-7229Getting issue details... STATUS
- centroid.py Nate Lust
- importCentroidAlgorithm.py
- measureSources.py
- sincPhotSums.py
- testAfterburners.py
- testApCorrNameSet.py Ian Sullivan
- testApertureFlux.py Ian Sullivan
- testApplyApCorr.py Ian Sullivan
- testBlendedness.py
- testCentroidChecker.py
- testClassification.py
- testFPPosition.py
- testFlagHandler.py
- testGaussianCentroid.py
- testGaussianFlux.py
- testInputCount.py
- testInputUtilities.py
- testJacobian.py
- testLib.py
- testNaiveCentroid.py
- testNoiseReplacer.py
- testPeakCentroid.py
- testPeakLikelyhoodFlux.py
- testPixelFlags.py
- testPsfFlux.py
- testScaledApertureFlux.py
- testSdssCentroid.py
- testSdssShape.py
- testShapeUtilities.py
- testSkyCoord.py
- testTransform.py
- testVariance.py
ip_isr - DM-7233Getting issue details... STATUS
- testApplyLookupTable.py John Parejko
- testBiasAndDarkCorrection.py
- testBrighterFatter.py
- testDefect.py
- testFlatAndIlluminationCorrection.py
- testFringes.py
- testLinearizeLookupTable.py
- testLinearizeSquared.py
- testOverscanCorrection.py
- testSaturationCorrection.py
- testSetValidPolygonIntersect.py
- testSuspectMasking.py