armi.tests.test_notebooks module
Tests to make sure ipynb notebooks still execute.
There is a pytest plugin that can run notebooks but that
assumes each cell is a test. To prevent inadvertent breaking
of the ipynbs, we imply run them here and show during unit
testing that a failure was introduced.
-
class armi.tests.test_notebooks.NotebookTests(methodName='runTest')[source]
Bases: unittest.case.TestCase
Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.
-
test_runParamSweep()[source]
-
test_runDataModel()[source]
-
armi.tests.test_notebooks.runNotebook(filename)[source]
Run a jupyter notebook.