armi.utils.tests.test_properties module

Tests of the propereties 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_retreivingUnassignedValueRaisesError()[source]
test_cannotAssignValueToImmutableProperty()[source]
test_unlockDoesNotPermitsReassignmentOfAnImmutableProperty()[source]