2018-01-29 10:53:46 -06:00
|
|
|
from tests.testing_harness import TestHarness
|
2013-02-01 15:22:32 -05:00
|
|
|
|
|
|
|
|
|
2015-06-25 00:10:07 -06:00
|
|
|
class StatepointTestHarness(TestHarness):
|
|
|
|
|
def __init__(self):
|
2018-02-06 13:14:17 -05:00
|
|
|
super().__init__(None)
|
2013-02-01 15:22:32 -05:00
|
|
|
|
2015-06-25 00:10:07 -06:00
|
|
|
def _test_output_created(self):
|
|
|
|
|
"""Make sure statepoint files have been created."""
|
2017-04-07 10:25:24 -05:00
|
|
|
sps = ('statepoint.03.h5', 'statepoint.06.h5', 'statepoint.09.h5')
|
2015-06-25 00:10:07 -06:00
|
|
|
for sp in sps:
|
|
|
|
|
self._sp_name = sp
|
|
|
|
|
TestHarness._test_output_created(self)
|
2013-08-12 16:35:13 -04:00
|
|
|
|
2014-02-25 13:21:54 -05:00
|
|
|
|
2018-01-29 12:10:24 -06:00
|
|
|
def test_statepoint_batch():
|
2015-06-25 00:10:07 -06:00
|
|
|
harness = StatepointTestHarness()
|
2015-06-29 18:50:53 -06:00
|
|
|
harness.main()
|