diff --git a/tests/unit_tests/cad/test_cad.py b/tests/unit_tests/cad/test_cad.py index 544e87380c..d73069297d 100644 --- a/tests/unit_tests/cad/test_cad.py +++ b/tests/unit_tests/cad/test_cad.py @@ -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'])