From 798286337544c8d08e4485b1553e9ae06c922e90 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Fri, 19 Oct 2018 13:37:02 -0500 Subject: [PATCH] Make sure DAGMC test imports openmc.capi, not openmc --- tests/regression_tests/dagmc/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/regression_tests/dagmc/test.py b/tests/regression_tests/dagmc/test.py index 943245d27e..9817cff956 100644 --- a/tests/regression_tests/dagmc/test.py +++ b/tests/regression_tests/dagmc/test.py @@ -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()