diff --git a/tests/regression_tests/triso/test.py b/tests/regression_tests/triso/test.py index 248724cc29..06ae04492f 100644 --- a/tests/regression_tests/triso/test.py +++ b/tests/regression_tests/triso/test.py @@ -1,7 +1,3 @@ -import random -from math import sqrt - -import numpy as np import openmc import openmc.model @@ -65,8 +61,8 @@ class TRISOTestHarness(PyAPITestHarness): box = openmc.Cell(region=box_region) outer_radius = 422.5*1e-4 - centers = openmc.model.pack_spheres(radius=outer_radius, - region=box_region, num_spheres=100) + centers = openmc.model.pack_spheres( + radius=outer_radius, region=box_region, num_spheres=100, seed=1) trisos = [openmc.model.TRISO(outer_radius, inner_univ, c) for c in centers] diff --git a/tests/unit_tests/test_deplete_resultslist.py b/tests/unit_tests/test_deplete_resultslist.py index 3c6d77a759..6e4a4210bd 100644 --- a/tests/unit_tests/test_deplete_resultslist.py +++ b/tests/unit_tests/test_deplete_resultslist.py @@ -74,7 +74,7 @@ def test_get_keff(res): def test_get_steps(unit): # Make a Results full of near-empty Result instances # Just fill out a time schedule - results = openmc.deplete.Results() + results = openmc.deplete.Results(filename=None) # Time in units of unit times = np.linspace(0, 100, num=5) if unit == "a":