armi.utils.tests.test_properties module

Tests of the properties class.

class armi.utils.tests.test_properties.ImmutableClass[source]

Bases: object

property myNum

My random number

initialize(val)[source]
class armi.utils.tests.test_properties.ImmutablePropertyTests(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_retreivingUnassignedValue()[source]

Attempting to retreive an unassigned value should raise an error.

test_noAssignImmutableProperty()[source]

Cannot assign a value to an immutable property.

test_unlockImmutableReassignment()[source]

Unlock does not permit reassignment of an immutable property.