mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Spot check in error message from failed run
This commit is contained in:
parent
7a203fbf72
commit
fe47d565fd
1 changed files with 3 additions and 2 deletions
|
|
@ -93,5 +93,6 @@ def test_input_arg(run_in_tmpdir):
|
|||
|
||||
# now ensure we get an error for an incorrect filename,
|
||||
# even in the presence of other, valid XML files
|
||||
with pytest.raises(RuntimeError):
|
||||
openmc.run(input_file='ex-em-ell.xml')
|
||||
with pytest.raises(RuntimeError) as execinfo:
|
||||
openmc.run(input_file='ex-em-ell.xml')
|
||||
assert 'ex-em-ell.xml' in execinfo.value
|
||||
Loading…
Add table
Add a link
Reference in a new issue