From c73a4d2e158214477f1100751bcfef0da5ae6089 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Fri, 20 May 2022 13:01:09 -0500 Subject: [PATCH] Make sure track file unit test uses reproducible cell/material IDs --- tests/unit_tests/test_tracks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit_tests/test_tracks.py b/tests/unit_tests/test_tracks.py index b82ea8459..11febea26 100644 --- a/tests/unit_tests/test_tracks.py +++ b/tests/unit_tests/test_tracks.py @@ -9,6 +9,7 @@ from tests.testing_harness import config @pytest.fixture def sphere_model(): + openmc.reset_auto_ids() mat = openmc.Material() mat.add_nuclide('Zr90', 1.0) mat.set_density('g/cm3', 1.0)