Skip to content

Commit 7815d3a

Browse files
authored
Fix typo in DAGMC lost particle test (#3634)
1 parent 8d61871 commit 7815d3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit_tests/dagmc/test_lost_particles.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ def test_lost_particles(run_in_tmpdir, broken_dagmc_model):
7070
openmc.run()
7171

7272
# run this again, but with the dagmc universe as the root unvierse
73+
# to ensure that lost particles are still caught in this case
7374
for univ in broken_dagmc_model.geometry.get_all_universes().values():
7475
if isinstance(univ, openmc.DAGMCUniverse):
75-
broken_dagmc_model.geometry.root_unvierse = univ
76+
broken_dagmc_model.geometry.root_universe = univ
7677
break
7778

7879
broken_dagmc_model.export_to_xml()
7980
with pytest.raises(RuntimeError, match='Maximum number of lost particles has been reached.'):
8081
openmc.run()
81-

0 commit comments

Comments
 (0)