LisaTest API additions for running tests from Notebooks
Created by: bjackman
This adds some stuff to the LisaTest API so that test classes can be instantiated in notebooks, the tests can then be run and the results interactively analysed to figure out the causes of test failures. An example of such a notebook will be submitted separately.
Summary of the changes:
Awkwardness to allow instantiating LisaTest objects:
- Add
$LISA_HOMEto$PYTHONPATHso thetestspackage gets discovered - Add an empty
LisaTest.runTestmethod so that__init__(inherited fromTestCase) can be called without themethodNameparameter. - Rename the "abstract" EasTest base class to avoid it being detected as a test class by nosetests
API additions
- A "public"
LisaTest.runExperimentsmethod to trigger running experiments - A
LisaTest.experimentsattribute aliasingLisaTest.executor.experiments, for convenience.
And a fix for LisaTest.get_sched_assert which looks like it never worked.