mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Make sure DAGMC test imports openmc.capi, not openmc
This commit is contained in:
parent
9c35c85712
commit
7982863375
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue