Skip to content

Commit

Permalink
test if giving path to scratchdir solves runner fails
Browse files Browse the repository at this point in the history
  • Loading branch information
smiet committed Jul 23, 2024
1 parent de47809 commit 8576d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/field/test_normal_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def test_empty_init(self):
@unittest.skipIf(py_spec is None, "py_spec not found")
def test_spec_coil_correspondence_on_converged_output(self):
# Init from SPEC input file
with ScratchDir("."):
with ScratchDir(TEST_DIR):
filespec = os.path.join(TEST_DIR, "M16N08.sp")
spec = Spec(filespec)
filecoils = os.path.join(TEST_DIR, "coils.M16N08")
Expand Down Expand Up @@ -402,7 +402,7 @@ def test_reduce_coilset(self):
"""
test if the coilset can be reduced, and
if the"""
with ScratchDir("."):
with ScratchDir(TEST_DIR):
spec = Spec.default_freeboundary(copy_to_pwd=True)
spec.need_to_run_code = False
base_curves = CoilSet._circlecurves_around_surface(
Expand Down

0 comments on commit 8576d95

Please sign in to comment.