Make sure DAGMC test imports openmc.capi, not openmc

This commit is contained in:
Paul Romano 2018-10-19 13:37:02 -05:00
parent 9c35c85712
commit 7982863375

View file

@ -1,7 +1,7 @@
from tests.testing_harness import TestHarness
import os
import pytest
import openmc
import openmc.capi
pytestmark = pytest.mark.skipif(
not openmc.capi.dagmc_enabled,
@ -9,4 +9,4 @@ pytestmark = pytest.mark.skipif(
def test_dagmc():
harness = TestHarness('statepoint.5.h5')
harness.main()
harness.main()