armi.utils.tests.test_textProcessors module

Tests for functions in textProcessors.py.

class armi.utils.tests.test_textProcessors.YamlIncludeTest(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_resolveIncludes()[source]
test_resolveIncludes_StringIO()[source]

Tests that resolveMarkupInclusions handles StringIO input.

test_findIncludes()[source]
class armi.utils.tests.test_textProcessors.SequentialReaderTests(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.

textStream = 'This is an example test stream.\nThis has multiple lines in it and below it contains a set of data that\ncan be found using a regular expression pattern.\nFILE DATA\nX  Y  3.5\nX  Y  4.2\nX  Y  0.0'
test_readFile()[source]
test_readFileWithPattern()[source]