LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
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 |