Skip to content

Commit e496939

Browse files
authored
Reset auto IDs in multigroup conversion test
Reset auto IDs before creating material in the test.
1 parent 84a43c1 commit e496939

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/unit_tests/dagmc/test_convert_to_multigroup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
def test_convert_to_multigroup_without_particles_batches(run_in_tmpdir):
1616
"""Test that convert_to_multigroup works with DAGMC model without
1717
setting particles/batches beforehand."""
18-
18+
openmc.reset_auto_ids()
19+
1920
mat = openmc.Material(name="mat")
2021
mat.add_nuclide("Fe56", 1.0)
2122
mat.set_density("g/cm3", 7.0)

0 commit comments

Comments
 (0)