armi.utils.tests.test_pathTools module

Unit tests for pathTools.

class armi.utils.tests.test_pathTools.PathToolsTests(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_separateModuleAndAttribute()[source]
test_importCustomModule()[source]

Test that importCustomPyModule is usable just like any other module.

test_moduleAndAttributeExist()[source]

Test that determination of existence of module attribute works.

test_cleanPathNoMpi()[source]

Simple tests of cleanPath(), in the no-MPI scenario

test_isFilePathNewer()[source]
test_isAccessible()[source]