mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Forgot the indent on docstring
This commit is contained in:
parent
33ded6d2d3
commit
bfa4b575b6
1 changed files with 8 additions and 8 deletions
16
tests/regression_tests/dagmc/external/test.py
vendored
16
tests/regression_tests/dagmc/external/test.py
vendored
|
|
@ -101,14 +101,14 @@ class ExternalDAGMCTest(PyAPITestHarness):
|
|||
self.executable = executable
|
||||
|
||||
def _run_openmc(self):
|
||||
"""
|
||||
Just test if results generated with the external C++ API are
|
||||
self-consistent with the internal python API.
|
||||
We generate the "truth" results with the python API but
|
||||
the main test produces the results file by running the
|
||||
executable compiled from main.cpp. This future-proofs
|
||||
the test - we only care that the two routes are equivalent.
|
||||
"""
|
||||
"""
|
||||
Just test if results generated with the external C++ API are
|
||||
self-consistent with the internal python API.
|
||||
We generate the "truth" results with the python API but
|
||||
the main test produces the results file by running the
|
||||
executable compiled from main.cpp. This future-proofs
|
||||
the test - we only care that the two routes are equivalent.
|
||||
"""
|
||||
if config['update']:
|
||||
# Generate the results file with internal python API
|
||||
openmc.run(openmc_exec=config['exe'], event_based=config['event'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue