Update tests/regression_tests/deplete/test.py

Co-authored-by: Andrew Johnson <drewejohnson@users.noreply.github.com>
This commit is contained in:
Gavin Ridley 2020-12-24 15:51:00 -05:00
parent 63a56701fd
commit a2f1a2fd59

View file

@ -132,9 +132,9 @@ def test_full(run_in_tmpdir, problem, multiproc):
# Check that no additional tallies are loaded from the files
assert np.all(n_tallies == 0)
# Checks openmc.Materials objects can be created from depletion results
def test_depletion_results_to_material(run_in_tmpdir, problem):
def test_depletion_results_to_material(run_in_tmpdir, problem):
"""Checks openmc.Materials objects can be created from depletion results"""
# Load the reference/test results
path_reference = Path(__file__).with_name('test_reference.h5')
res_ref = openmc.deplete.ResultsList.from_hdf5(path_reference)