mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Attempting a new way of accessing local files for test.
This commit is contained in:
parent
1befe1c059
commit
87b1b4d8ec
1 changed files with 3 additions and 3 deletions
|
|
@ -13,8 +13,8 @@ pytestmark = pytest.mark.skipif(
|
|||
def test_cad():
|
||||
# make sure cwd is in the python system path
|
||||
d = os.path.abspath(os.path.dirname(__file__))
|
||||
print(d)
|
||||
sys.path.append(d)
|
||||
|
||||
# move here
|
||||
os.chdir(d)
|
||||
# run test
|
||||
assert not call(['openmc','-s','1'])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue