Going back to default openmc run from the test_harness. Adjusting post-run tests (for now).

This commit is contained in:
shriwise 2018-09-12 09:21:29 -05:00 committed by pshriwise
parent 4ce6e0211e
commit b7eb82b6be

View file

@ -316,5 +316,11 @@ class HashedPyAPITestHarness(PyAPITestHarness):
class CADTestHarness(TestHarness):
def _run_openmc(self):
openmc.run(openmc_exec=config['exe'], threads = 1)
def execute_test(self):
"""Run OpenMC with the appropriate arguments and check the outputs."""
try:
self._run_openmc()
self._test_output_created()
finally:
self._cleanup()