Skip to content

Commit f3dfe22

Browse files
committed
order of isotopes not important
1 parent 5c5e435 commit f3dfe22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ def test_expand_material_xmls_with_two_isotopes(self):
252252
os.system("rm materials.xml")
253253
openmc.Materials([my_mat]).export_to_xml()
254254

255-
assert expand_materials_xml_to_isotopes("materials.xml") == ["Li6", "Li7"]
255+
assert "Li6" in expand_materials_xml_to_isotopes("materials.xml")
256+
assert "Li7" in expand_materials_xml_to_isotopes("materials.xml")
256257

257258
def test_expand_material_xmls_with_sab(self):
258259

0 commit comments

Comments
 (0)