LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Classes | Namespaces | Functions | Variables
tests.py File Reference

Go to the source code of this file.

Classes

class  lsst.utils.tests.MemoryTestCase
 Check for memory leaks since memId0 was allocated. More...
 
class  lsst.utils.tests.TestCase
 Subclass of unittest.TestCase that adds some custom assertions for convenience. More...
 

Namespaces

 lsst.utils.tests
 

Functions

def lsst.utils.tests.init
 
def lsst.utils.tests.run
 Exit with the status code resulting from running the provided test suite. More...
 
def lsst.utils.tests.findFileFromRoot
 Find file which is specified as a path relative to the toplevel directory; we start in $cwd and walk up until we find the file (or throw IOError if it doesn't exist) More...
 
def lsst.utils.tests.getTempFilePath
 Return a path suitable for a temporary file and try to delete the file on success. More...
 
def lsst.utils.tests.inTestCase
 A decorator to add a free function to our custom TestCase class, while also making it available as a free function. More...
 
def lsst.utils.tests.assertRaisesLsstCpp
 
def lsst.utils.tests.debugger
 Decorator to enter the debugger when there's an uncaught exception. More...
 
def lsst.utils.tests.plotImageDiff
 Plot the comparison of two 2-d NumPy arrays. More...
 
def lsst.utils.tests.assertClose
 Highly-configurable floating point comparisons for scalars and arrays. More...
 
def lsst.utils.tests.assertNotClose
 Fail a test if the given floating point values are completely equal to within the given tolerances. More...
 

Variables

 lsst.utils.tests.dafBase = None
 
int lsst.utils.tests.memId0 = 0
 
int lsst.utils.tests.nleakPrintMax = 20