armi.utils.tests.test_directoryChangersMpi module

Test the MpiDirectoryChanger.

These tests will be generally ignored by pytest if you are trying to run them in an environment without MPI installed.

To run these tests from the command line, install MPI and mpi4py, and do:

mpiexec -n 2 python -m pytest test_parallel.py or mpiexec.exe -n 2 python -m pytest test_parallel.py

class armi.utils.tests.test_directoryChangersMpi.RevealYourDirectory[source]

Bases: MpiAction

invokeHook()[source]
class armi.utils.tests.test_directoryChangersMpi.TestMPI(methodName='runTest')[source]

Bases: 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_MpiDirectoryChanger()[source]