From cfadd1ede8118bd9be6c9e94dbff6d19cb342b71 Mon Sep 17 00:00:00 2001 From: jstilley Date: Tue, 21 Nov 2023 10:55:01 -0800 Subject: [PATCH] Fixing broken req test crumbs --- armi/nucDirectory/tests/test_elements.py | 10 +++++----- armi/nucDirectory/tests/test_nuclideBases.py | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/armi/nucDirectory/tests/test_elements.py b/armi/nucDirectory/tests/test_elements.py index 26e3156bd..9ad2a2dac 100644 --- a/armi/nucDirectory/tests/test_elements.py +++ b/armi/nucDirectory/tests/test_elements.py @@ -38,7 +38,7 @@ def test_element_elementByNameReturnsElement(self): """Get elements by name. .. test:: Get elements by name. - :id: I_ARMI_ND_ELEMENTS0 + :id: T_ARMI_ND_ELEMENTS0 :tests: R_ARMI_ND_ELEMENTS """ for ee in elements.byZ.values(): @@ -48,7 +48,7 @@ def test_element_elementByZReturnsElement(self): """Get elements by Z. .. test:: Get elements by Z. - :id: I_ARMI_ND_ELEMENTS1 + :id: T_ARMI_ND_ELEMENTS1 :tests: R_ARMI_ND_ELEMENTS """ for ee in elements.byZ.values(): @@ -58,7 +58,7 @@ def test_element_elementBySymbolReturnsElement(self): """Get elements by symbol. .. test:: Get elements by symbol. - :id: I_ARMI_ND_ELEMENTS2 + :id: T_ARMI_ND_ELEMENTS2 :tests: R_ARMI_ND_ELEMENTS """ for ee in elements.byZ.values(): @@ -104,7 +104,7 @@ def test_element_isNaturallyOccurring(self): occurring. Yeah it exists as a U235 decay product but it's kind of pseudo-natural. .. test:: Get elements by Z, to show if they are naturally occurring. - :id: I_ARMI_ND_ELEMENTS3 + :id: T_ARMI_ND_ELEMENTS3 :tests: R_ARMI_ND_ELEMENTS """ for ee in elements.byZ.values(): @@ -129,7 +129,7 @@ def test_isHeavyMetal(self): """Get elements by Z. .. test:: Get elements by Z, to show if they are heavy metals. - :id: I_ARMI_ND_ELEMENTS4 + :id: T_ARMI_ND_ELEMENTS4 :tests: R_ARMI_ND_ELEMENTS """ for ee in elements.byZ.values(): diff --git a/armi/nucDirectory/tests/test_nuclideBases.py b/armi/nucDirectory/tests/test_nuclideBases.py index 904c033d7..0d0773852 100644 --- a/armi/nucDirectory/tests/test_nuclideBases.py +++ b/armi/nucDirectory/tests/test_nuclideBases.py @@ -140,7 +140,7 @@ def test_nucBases_labelAndNameCollsionsAreForSameNuclide(self): """The name and labels for correct for nuclides. .. test:: Validate the name, label, and DB name are accessible for nuclides. - :id: I_ARMI_ND_ISOTOPES0 + :id: T_ARMI_ND_ISOTOPES0 :tests: R_ARMI_ND_ISOTOPES """ count = 0 @@ -194,7 +194,7 @@ def test_nucBases_imposeBurn_nuSF(self): """Test the nuclide data from file (specifically neutrons / sponaneous fission). .. test:: Test that nuclide data was read from file instead of code. - :id: I_ARMI_ND_DATA0 + :id: T_ARMI_ND_DATA0 :tests: R_ARMI_ND_DATA """ actual = { @@ -250,7 +250,7 @@ def test_nucBases_Am242m(self): """Test the correct am242g and am242m abbreviations are supported. .. test:: Specifically test for Am242 and Am242g because it is a special case. - :id: I_ARMI_ND_ISOTOPES1 + :id: T_ARMI_ND_ISOTOPES1 :tests: R_ARMI_ND_ISOTOPES """ am242m = nuclideBases.byName["AM242"] @@ -284,7 +284,7 @@ def test_getEndfMatNum(self): """Test get nuclides by name. .. test:: Test get nuclides by name. - :id: I_ARMI_ND_ISOTOPES2 + :id: T_ARMI_ND_ISOTOPES2 :tests: R_ARMI_ND_ISOTOPES """ self.assertEqual(nuclideBases.byName["U235"].getEndfMatNum(), "9228") @@ -392,7 +392,7 @@ def test_loadMcc2Data(self): """Tests consistency with the `mcc-nuclides.yaml` input and the nuclides in the data model. .. test:: Test that MCC v2 IDs can be queried by nuclides. - :id: I_ARMI_ND_ISOTOPES3 + :id: T_ARMI_ND_ISOTOPES3 :tests: R_ARMI_ND_ISOTOPES """ with open(os.path.join(RES, "mcc-nuclides.yaml")) as f: @@ -413,11 +413,11 @@ def test_loadMcc3Data(self): """Tests consistency with the `mcc-nuclides.yaml` input and the nuclides in the data model. .. test:: Test that MCC v3 IDs can be queried by nuclides. - :id: I_ARMI_ND_ISOTOPES4 + :id: T_ARMI_ND_ISOTOPES4 :tests: R_ARMI_ND_ISOTOPES .. test:: Test the MCC nuclide data that was read from file instead of code. - :id: I_ARMI_ND_DATA1 + :id: T_ARMI_ND_DATA1 :tests: R_ARMI_ND_DATA """ with open(os.path.join(RES, "mcc-nuclides.yaml")) as f: @@ -441,7 +441,7 @@ def test_AAAZZZSNameGenerator(self): """Test that AAAZZS ID name generator. .. test:: Query the AAAZZS IDs can be retrieved for nuclides. - :id: I_ARMI_ND_ISOTOPES5 + :id: T_ARMI_ND_ISOTOPES5 :tests: R_ARMI_ND_ISOTOPES """ referenceNucNames = [