No longer running parallel test, seems unecesssary.

This commit is contained in:
Patrick Shriwise 2020-05-11 23:07:30 -05:00
parent bd6048bc28
commit e2774f1f5d
2 changed files with 4 additions and 24 deletions

View file

@ -48,13 +48,3 @@
</space>
</source>
</settings>
<?xml version='1.0' encoding='utf-8'?>
<tallies>
<filter id="2" type="cell">
<bins>1 2 3</bins>
</filter>
<tally id="2">
<filters>2</filters>
<scores>flux</scores>
</tally>
</tallies>

View file

@ -51,8 +51,8 @@ def model():
class ExternalDriverTestHarness(PyAPITestHarness):
def __init__(self, executable, statepoint_name, model=None, inputs_true=None):
super().__init__(statepoint_name, model, inputs_true)
def __init__(self, executable, statepoint_name, model=None):
super().__init__(statepoint_name, model)
self.executable = executable
def _run_openmc(self):
@ -61,15 +61,5 @@ class ExternalDriverTestHarness(PyAPITestHarness):
def test_cpp_driver(driver, model):
harness = ExternalDriverTestHarness(driver, 'statepoint.10.h5', model, 'inputs_true1.dat')
harness.main()
def test_openmc_run(driver, model):
# modify model and test again using the openmc exe
cell_filter = openmc.CellFilter(list(model.geometry.get_all_cells().values()))
tally = openmc.Tally()
tally.filters = [cell_filter]
tally.scores = ['flux']
model.tallies = [tally]
harness = PyAPITestHarness('statepoint.10.h5', model, 'inputs_true2.dat')
harness.main()
harness = ExternalDriverTestHarness(driver, 'statepoint.10.h5', model)
harness.main()