diff --git a/armi/materials/tests/test_materials.py b/armi/materials/tests/test_materials.py index d8083e3d6..037f844ee 100644 --- a/armi/materials/tests/test_materials.py +++ b/armi/materials/tests/test_materials.py @@ -60,16 +60,7 @@ def test_TD(self): self.assertEqual(self.mat.cached, {}) def test_duplicate(self): - """Test the material duplication. - - .. test:: Test the material base class. - :id: T_ARMI_MAT_PROPERTIES3 - :tests: R_ARMI_MAT_PROPERTIES - - .. test:: Materials shall calc mass fracs at init. - :id: T_ARMI_MAT_FRACS - :tests: R_ARMI_MAT_FRACS - """ + """Test the material duplication.""" mat = self.mat.duplicate() self.assertEqual(len(mat.massFrac), len(self.mat.massFrac)) @@ -725,6 +716,16 @@ def test_getTempChangeForDensityChange(self): self.assertAlmostEqual(expectedDeltaT, actualDeltaT) def test_duplicate(self): + """Test the material duplication. + + .. test:: Test the material base class is usable. + :id: T_ARMI_MAT_PROPERTIES3 + :tests: R_ARMI_MAT_PROPERTIES + + .. test:: Materials shall calc mass fracs at init. + :id: T_ARMI_MAT_FRACS + :tests: R_ARMI_MAT_FRACS + """ duplicateU = self.mat.duplicate() for key in self.mat.massFrac: diff --git a/armi/reactor/components/component.py b/armi/reactor/components/component.py index 50f1e66f8..e8202a13c 100644 --- a/armi/reactor/components/component.py +++ b/armi/reactor/components/component.py @@ -260,10 +260,6 @@ def __lt__(self, other): True if a circle encompassing this object has a smaller diameter than one encompassing another component. This allows sorting because the Python sort functions only use this method. - - .. impl:: Order components by there outermost diameter. - :id: I_ARMI_COMP_ORDER - :implements: R_ARMI_COMP_ORDER """ thisOD = self.getBoundingCircleOuterDiameter(cold=True) thatOD = other.getBoundingCircleOuterDiameter(cold=True) diff --git a/armi/reactor/composites.py b/armi/reactor/composites.py index 55eadbfec..de3831104 100644 --- a/armi/reactor/composites.py +++ b/armi/reactor/composites.py @@ -672,11 +672,7 @@ def hasFlags(self, typeID: TypeSpec, exact=False): """ Determine if this object is of a certain type. - .. impl:: Flags can be queried. - :id: I_ARMI_CMP_FLAG - :implements: R_ARMI_CMP_FLAG - - .. impl:: Composites have flags + .. impl:: Composites have queriable flags. :id: I_ARMI_CMP_FLAG :implements: R_ARMI_CMP_FLAG