From dabadbaa8dd8b7d201c14ffe5cd6968ee1828003 Mon Sep 17 00:00:00 2001 From: Sterling Harper Date: Wed, 1 Jul 2015 18:57:34 -0600 Subject: [PATCH] Typo fix for #402 --- tests/test_statepoint_restart/test_statepoint_restart.py | 2 +- tests/testing_harness.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_statepoint_restart/test_statepoint_restart.py b/tests/test_statepoint_restart/test_statepoint_restart.py index e20c717d6b..0420dbddfa 100644 --- a/tests/test_statepoint_restart/test_statepoint_restart.py +++ b/tests/test_statepoint_restart/test_statepoint_restart.py @@ -42,7 +42,7 @@ class StatepointRestartTestHarness(TestHarness): executor = Executor() if self._opts.mpi_exec is not None: - returncode = executor.run_simulation(mpi_procs=mpi_procs, + returncode = executor.run_simulation(mpi_procs=self._opts.mpi_np, restart_file=statepoint, openmc_exec=self._opts.exe, mpi_exec=self._opts.mpi_exec) diff --git a/tests/testing_harness.py b/tests/testing_harness.py index 6cf85ae233..9406c1e283 100644 --- a/tests/testing_harness.py +++ b/tests/testing_harness.py @@ -68,7 +68,7 @@ class TestHarness(object): executor = Executor() if self._opts.mpi_exec is not None: - returncode = executor.run_simulation(mpi_procs=mpi_procs, + returncode = executor.run_simulation(mpi_procs=self._opts.mpi_np, openmc_exec=self._opts.exe, mpi_exec=self._opts.mpi_exec)