lmod.moduleloadtest module¶
-
class
lmod.moduleloadtest.
ModuleLoadTest
(tree=None, purge=True, force=False, debug=False, count=999999999, name=[], include=[], exclude=[], login=False)[source]¶ Bases:
object
This is the class declaration of ModuleLoadTest. This class will automate module load test for all modules in one or more module tree (Software Stack) retrieved by Spider class. The output of
module load
is a 0 or 1 that can be used to determine PASS/FAIL on a module. Each module test will attempt to test themodule load
command using theModule().test_modules()
. In order to run tests properly, MODULEPATH must be set in your environment.