Merge pull request #1060 from smharper/test_capi_bug

Make sure init is called in C-API unit test
This commit is contained in:
Paul Romano 2018-08-24 19:47:58 -05:00 committed by GitHub
commit 4deebd6d8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ def capi_init(pincell_model):
@pytest.fixture(scope='module')
def capi_simulation_init(pincell_model):
def capi_simulation_init(capi_init):
openmc.capi.simulation_init()
yield