armi.utils.tests.test_directoryChangers module¶
Module for testing directoryChangers.
- class armi.utils.tests.test_directoryChangers.TestDirectoryChangers(methodName='runTest')[source]¶
Bases:
unittest.case.TestCase
Tests for directory changers.
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_exception()[source]¶
Make sure directory changers bring back full folder when an exception is raised.
- test_exception_disabled()[source]¶
Make sure directory changers do not bring back full folder when handling is disabled.
- test_change_to_nonexisting_works_forced()[source]¶
Succeed with forced creation even when destination doesn’t exist.