def suite():
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(EqualityTest)
    suites += unittest.makeSuite(LoadSpecialTest)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(basicAccessTest)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)

    return unittest.TestSuite(suites)
def suite():
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(MapperImportTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(ObservationMetaDataTest)

    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = [unittest.makeSuite(ComputeSourceSkyCoordsStageTestCase),
              unittest.makeSuite(utilsTests.MemoryTestCase),
             ]
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(LeastSquaresTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    utilsTests.init()
    
    suites = []
    suites += unittest.makeSuite(ButlerTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #8
0
def suite():
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(WrapTest)
    suites += unittest.makeSuite(NestedWrapTest)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #9
0
def suite():
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(SourceToDiaSourceTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the tests cases in this module."""
    tests.init()
    suites = []
    suites += unittest.makeSuite(EventFiltersTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(FileMapTest)

    return unittest.TestSuite(suites)
def suite():
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(photometryUnitTest)
    suites += unittest.makeSuite(uncertaintyUnitTest)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #13
0
def suite():
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(TransformTestCase)
    suites += unittest.makeSuite(RunTransformTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(IndexTestCaseStars)
    suites += unittest.makeSuite(IndexTestCaseSSM)
    suites += unittest.makeSuite(IndexTestCaseGalaxies)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(joinMatchListWithCatalogTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #16
0
def suite():
    """Returns a suite containing all the test cases in this module."""

    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(AngleTestCase)
    suites += unittest.makeSuite(CoordTestCase)
    suites += unittest.makeSuite(QuadrupoleTestCase)
    suites += unittest.makeSuite(AxesTestCase)
    suites += unittest.makeSuite(Point2DTestCase)
    suites += unittest.makeSuite(Point3DTestCase)
    suites += unittest.makeSuite(Point2ITestCase)
    suites += unittest.makeSuite(Point3ITestCase)
    suites += unittest.makeSuite(Extent2DTestCase)
    suites += unittest.makeSuite(Extent3DTestCase)
    suites += unittest.makeSuite(Box2DTestCase)
    suites += unittest.makeSuite(Box2ITestCase)
    suites += unittest.makeSuite(AffineTransformTestCase)
    suites += unittest.makeSuite(LinearTransformTestCase)
    suites += unittest.makeSuite(WcsPickleTestCase)
    suites += unittest.makeSuite(TanWcsPickleTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)

    return unittest.TestSuite(suites)
Example #17
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(TestResultsDb)
    suites += unittest.makeSuite(TestUseResultsDb)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(CompoundCoordinateTransformationsTests)

    return unittest.TestSuite(suites)
Example #19
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(CandidateMaskingTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #20
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(ReplaceWithNoiseTestCase)
    suites += unittest.makeSuite(Ticket2139TestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(DeconvolvedPsfPhotometryTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #22
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(RunFunctionsTestCase)

    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(ApproximateWcsTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #24
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(HeavyFootprintTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(BrighterFatterTestCases)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = map(unittest.makeSuite,
        [SourceClusterAttributesTestCase,
         utilsTests.MemoryTestCase
        ])
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(setValidPolygonIntersectTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(testDegrees)
    suites += unittest.makeSuite(AstrometryDegreesTest)

    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(InstanceCatalogMetaDataTest)
    suites += unittest.makeSuite(InstanceCatalogCannotBeNullTest)

    return unittest.TestSuite(suites)
Example #30
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(NegativeMeasurementTestCase)

    return unittest.TestSuite(suites)
Example #31
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(VarianceTest)
    suites += unittest.makeSuite(BadCentroidTest)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #32
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(CosmicRayTestCase)
    suites += unittest.makeSuite(CosmicRayNullTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #33
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(MinimizeTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)

    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(CatalogDBObjectTestCase)
    suites += unittest.makeSuite(fileDBObjectTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)

    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(CompoundCatalogDBObjectTestCase)
    suites += unittest.makeSuite(CompoundWithObsMetaData)


    return unittest.TestSuite(suites)
Example #36
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(FootprintSetTestCase)
    suites += unittest.makeSuite(PeaksInFootprintsTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #37
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(MeasureTestCase)
    suites += unittest.makeSuite(FindAndMeasureTestCase)
    suites += unittest.makeSuite(GaussianPsfTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #38
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    suites += unittest.makeSuite(CalibTestCase)
    suites += unittest.makeSuite(ColorTestCase)
    suites += unittest.makeSuite(FilterTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #39
0
def suite():
    '''
    Returns a suite containing all the test cases in this module.
    '''
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(AfterburnerTest)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #40
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = map(unittest.makeSuite, [
        UtilsTestCase, SphericalBoxTestCase, SphericalCircleTestCase,
        SphericalEllipseTestCase, SphericalConvexPolygonTestCase,
        MedianTestCase, HemisphericalTestCase, ConvexTestCase,
        SphericalBoxPartitionMapTestCase
    ])
    return unittest.TestSuite(suites)
Example #41
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(SpatialModelPsfTestCase)
    suites += unittest.makeSuite(SingleGaussianPsfTestCase)
    suites += unittest.makeSuite(DoubleGaussianPsfTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #42
0
def suite():
    """Returns a suite containing all the test cases in this module."""

    tests.init()

    suites = []
    suites += unittest.makeSuite(DipoleAlgorithmTest)
    suites += unittest.makeSuite(DipoleMeasurementTaskTest)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #43
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(TransformTestCase)
    suites += unittest.makeSuite(AlgorithmConfigurationTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)

    return unittest.TestSuite(suites)
Example #44
0
def suite():
    """Returns a suite containing all the test cases in this module."""

    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(MaskedImageTestCase)
    suites += unittest.makeSuite(MaskedMultiExtensionTestCase)
    suites += unittest.makeSuite(ExposureMultiExtensionTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #45
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    if eups.productDir("afwdata"):
        suites += unittest.makeSuite(interpolationTestCase)
    else:
        print "Skipping interpolation test case as afwdata isn't set up"
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #46
0
def suite():
    """Returns a suite containing all the test cases in this module."""

    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(SpatialCellTestCase)
    suites += unittest.makeSuite(SpatialCellSetTestCase)
    suites += unittest.makeSuite(TestMaskedImageCandidateCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(CentroidTestCase)
    suites += unittest.makeSuite(MonetTestCase)
    suites += unittest.makeSuite(SourceMeasurementTaskTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)

    return unittest.TestSuite(suites)
Example #48
0
def suite():
    """Returns a suite containing all the test cases in this module."""

    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(
        OldMaskTestCase)  # test suite from vw-based Masks
    suites += unittest.makeSuite(MaskTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #49
0
def suite():
    """Return a suite containing all the test cases in this module.
    """
    utilsTests.init()

    suites = [
        unittest.makeSuite(ScaleZeroPointTaskTestCase),
        unittest.makeSuite(utilsTests.MemoryTestCase),
    ]

    return unittest.TestSuite(suites)
Example #50
0
def suite():
    """Returns a suite containing all the test cases in this module."""

    tests.init()

    suites = []
    suites += unittest.makeSuite(MatchPairVecTestCase)
    suites += unittest.makeSuite(IdPairVecTestCase)
    # suites += unittest.makeSuite(IdVecTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #51
0
def suite():
    """Returns a suite containing all the test cases in this module."""

    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(offsetImageTestCase)
    suites += unittest.makeSuite(transformImageTestCase)
    suites += unittest.makeSuite(binImageTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #52
0
def suite():
    """Returns a suite containing all the test cases in this module."""

    utilsTests.init()

    suites = []
    if not eups.productDir("afwdata"):
        print >> sys.stderr, "afwdata is not setting up; skipping test"
    else:
        suites += unittest.makeSuite(PsfDeterminationStageTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #53
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    tests.init()

    suites = []
    if imageFile0:
        suites += unittest.makeSuite(CosmicRayTestCase)
    else:
        print >> sys.stderr, "afwdata is not setup; skipping CosmicRayTestCase"
    suites += unittest.makeSuite(CosmicRayNullTestCase)
    suites += unittest.makeSuite(tests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #54
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(WcsTestCase)
    suites += unittest.makeSuite(WCSTestCaseSDSS)
    suites += unittest.makeSuite(TestWcsCompare)
    #    suites += unittest.makeSuite(WCSTestCaseCFHT)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)

    return unittest.TestSuite(suites)
Example #55
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()

    suites = []
    suites += unittest.makeSuite(ThresholdTestCase)
    suites += unittest.makeSuite(SpanTestCase)
    suites += unittest.makeSuite(FootprintTestCase)
    suites += unittest.makeSuite(FootprintSetTestCase)
    suites += unittest.makeSuite(NaNFootprintSetTestCase)
    suites += unittest.makeSuite(MaskFootprintSetTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #56
0
def suite():
    """Returns a suite containing all the test cases in this module."""

    utilsTests.init()

    suites = []

    if not eups.productDir("astrometry_net_data"):
        print >> sys.stderr, "Unable to test WcsDeterminationStage as astrometry_net_data is not setup"
    else:
        suites += unittest.makeSuite(PhotoCalStageTestCase)

    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
def suite():
    """Returns a suite containing all the test cases in this module."""

    utilsTests.init()

    suites = []

    if not eups.productDir("afwdata"):
        print >> sys.stderr, "afwdata is not setting up; skipping test"
    elif not eups.productDir("obs_lsstSim"):
        print >> sys.stderr, "obs_lsstSim not set up; skipping test"
    else:
        suites += unittest.makeSuite(IsrCcdAssemblyTestCase)

    suites += unittest.makeSuite(utilsTests.MemoryTestCase)
    return unittest.TestSuite(suites)
Example #58
0
def suite():
    """Returns a suite containing all the test cases in this module."""

    utilsTests.init()

    if display:
        ds9.cmdBuffer.pushSize()

    suites = []
    suites += unittest.makeSuite(CameraGeomTestCase)
    suites += unittest.makeSuite(utilsTests.MemoryTestCase)

    if display:
        ds9.cmdBuffer.popSize()

    return unittest.TestSuite(suites)
Example #59
0
def suite():
    """Returns a suite containing all the test cases in this module."""
    utilsTests.init()
    suites = []
    suites += unittest.makeSuite(TestTrackingDb)
    return unittest.TestSuite(suites)
Example #60
0
def setup_module(module):
    utilsTests.init()