Skip to content

Commit e2dba79

Browse files
authored
Fixing broken req test crumbs (#1484)
1 parent bb78218 commit e2dba79

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

armi/nucDirectory/tests/test_elements.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_element_elementByNameReturnsElement(self):
3838
"""Get elements by name.
3939
4040
.. test:: Get elements by name.
41-
:id: I_ARMI_ND_ELEMENTS0
41+
:id: T_ARMI_ND_ELEMENTS0
4242
:tests: R_ARMI_ND_ELEMENTS
4343
"""
4444
for ee in elements.byZ.values():
@@ -48,7 +48,7 @@ def test_element_elementByZReturnsElement(self):
4848
"""Get elements by Z.
4949
5050
.. test:: Get elements by Z.
51-
:id: I_ARMI_ND_ELEMENTS1
51+
:id: T_ARMI_ND_ELEMENTS1
5252
:tests: R_ARMI_ND_ELEMENTS
5353
"""
5454
for ee in elements.byZ.values():
@@ -58,7 +58,7 @@ def test_element_elementBySymbolReturnsElement(self):
5858
"""Get elements by symbol.
5959
6060
.. test:: Get elements by symbol.
61-
:id: I_ARMI_ND_ELEMENTS2
61+
:id: T_ARMI_ND_ELEMENTS2
6262
:tests: R_ARMI_ND_ELEMENTS
6363
"""
6464
for ee in elements.byZ.values():
@@ -104,7 +104,7 @@ def test_element_isNaturallyOccurring(self):
104104
occurring. Yeah it exists as a U235 decay product but it's kind of pseudo-natural.
105105
106106
.. test:: Get elements by Z, to show if they are naturally occurring.
107-
:id: I_ARMI_ND_ELEMENTS3
107+
:id: T_ARMI_ND_ELEMENTS3
108108
:tests: R_ARMI_ND_ELEMENTS
109109
"""
110110
for ee in elements.byZ.values():
@@ -129,7 +129,7 @@ def test_isHeavyMetal(self):
129129
"""Get elements by Z.
130130
131131
.. test:: Get elements by Z, to show if they are heavy metals.
132-
:id: I_ARMI_ND_ELEMENTS4
132+
:id: T_ARMI_ND_ELEMENTS4
133133
:tests: R_ARMI_ND_ELEMENTS
134134
"""
135135
for ee in elements.byZ.values():

armi/nucDirectory/tests/test_nuclideBases.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def test_nucBases_labelAndNameCollsionsAreForSameNuclide(self):
140140
"""The name and labels for correct for nuclides.
141141
142142
.. test:: Validate the name, label, and DB name are accessible for nuclides.
143-
:id: I_ARMI_ND_ISOTOPES0
143+
:id: T_ARMI_ND_ISOTOPES0
144144
:tests: R_ARMI_ND_ISOTOPES
145145
"""
146146
count = 0
@@ -194,7 +194,7 @@ def test_nucBases_imposeBurn_nuSF(self):
194194
"""Test the nuclide data from file (specifically neutrons / sponaneous fission).
195195
196196
.. test:: Test that nuclide data was read from file instead of code.
197-
:id: I_ARMI_ND_DATA0
197+
:id: T_ARMI_ND_DATA0
198198
:tests: R_ARMI_ND_DATA
199199
"""
200200
actual = {
@@ -250,7 +250,7 @@ def test_nucBases_Am242m(self):
250250
"""Test the correct am242g and am242m abbreviations are supported.
251251
252252
.. test:: Specifically test for Am242 and Am242g because it is a special case.
253-
:id: I_ARMI_ND_ISOTOPES1
253+
:id: T_ARMI_ND_ISOTOPES1
254254
:tests: R_ARMI_ND_ISOTOPES
255255
"""
256256
am242m = nuclideBases.byName["AM242"]
@@ -284,7 +284,7 @@ def test_getEndfMatNum(self):
284284
"""Test get nuclides by name.
285285
286286
.. test:: Test get nuclides by name.
287-
:id: I_ARMI_ND_ISOTOPES2
287+
:id: T_ARMI_ND_ISOTOPES2
288288
:tests: R_ARMI_ND_ISOTOPES
289289
"""
290290
self.assertEqual(nuclideBases.byName["U235"].getEndfMatNum(), "9228")
@@ -392,7 +392,7 @@ def test_loadMcc2Data(self):
392392
"""Tests consistency with the `mcc-nuclides.yaml` input and the nuclides in the data model.
393393
394394
.. test:: Test that MCC v2 IDs can be queried by nuclides.
395-
:id: I_ARMI_ND_ISOTOPES3
395+
:id: T_ARMI_ND_ISOTOPES3
396396
:tests: R_ARMI_ND_ISOTOPES
397397
"""
398398
with open(os.path.join(RES, "mcc-nuclides.yaml")) as f:
@@ -413,11 +413,11 @@ def test_loadMcc3Data(self):
413413
"""Tests consistency with the `mcc-nuclides.yaml` input and the nuclides in the data model.
414414
415415
.. test:: Test that MCC v3 IDs can be queried by nuclides.
416-
:id: I_ARMI_ND_ISOTOPES4
416+
:id: T_ARMI_ND_ISOTOPES4
417417
:tests: R_ARMI_ND_ISOTOPES
418418
419419
.. test:: Test the MCC nuclide data that was read from file instead of code.
420-
:id: I_ARMI_ND_DATA1
420+
:id: T_ARMI_ND_DATA1
421421
:tests: R_ARMI_ND_DATA
422422
"""
423423
with open(os.path.join(RES, "mcc-nuclides.yaml")) as f:
@@ -441,7 +441,7 @@ def test_AAAZZZSNameGenerator(self):
441441
"""Test that AAAZZS ID name generator.
442442
443443
.. test:: Query the AAAZZS IDs can be retrieved for nuclides.
444-
:id: I_ARMI_ND_ISOTOPES5
444+
:id: T_ARMI_ND_ISOTOPES5
445445
:tests: R_ARMI_ND_ISOTOPES
446446
"""
447447
referenceNucNames = [

0 commit comments

Comments
 (0)