Package reflectometry :: Package reduction :: Module nxstest

Module nxstest

source code


NeXus tests converted to python.

python nxstest.py [-v -x] [hdf4] [hdf5] [xml]
    Run tests

    -v for verbose; shows structure and leaves files in place
    -x for testing external linkage
    hdf4 hdf5 xml
        for running specific backend tests.  You can specify multiple
        backends in a single run. Default is hdf5

python nxstest.py -d file
    Show structure of a single file

Functions
 
memfootprint() source code
 
leak_test1(n=1000, mode='w5') source code
 
show_structure(filename) source code
 
populate(filename, mode) source code
 
fail(msg) source code
 
dicteq(a, b)
Compare two dictionaries printing how they differ.
source code
 
check(filename) source code
 
populate_external(filename, mode) source code
 
check_external(filename, mode) source code
 
test_external(mode, quiet=True) source code
 
test_mode(mode, quiet=True, external=False) source code
 
test() source code
Variables
  failures = 0