mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
In the test, ensure the globbed statepoint filenames are sorted
This commit is contained in:
parent
f2bc95afa5
commit
11807ae1f1
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class TriggerStatepointRestartTestHarness(PyAPITestHarness):
|
|||
|
||||
def _test_output_created(self):
|
||||
"""Make sure statepoint files have been created."""
|
||||
spfiles = glob.glob(self._sp_pattern)
|
||||
spfiles = sorted(glob.glob(self._sp_pattern))
|
||||
assert len(spfiles) == 2, \
|
||||
'Two statepoint files should have been created'
|
||||
if not self._final_sp:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue