Attempting a new way of accessing local files for test.

This commit is contained in:
shriwise 2018-09-10 22:47:10 -05:00 committed by pshriwise
parent 1befe1c059
commit 87b1b4d8ec

View file

@ -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'])