Skip to content

Commit

Permalink
skip tests that use spec on runners without
Browse files Browse the repository at this point in the history
  • Loading branch information
smiet committed Jul 22, 2024
1 parent f7e2573 commit c6276be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/field/test_normal_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ def test_empty_init(self):
coil_normal_field = CoilNormalField()
self.assertIsNotNone(coil_normal_field)

@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("."):
Expand Down Expand Up @@ -396,6 +397,7 @@ def test_vns_vns_setter_raises(self):
with self.assertRaises(AttributeError):
coil_normal_field.set_vns_vnc_asarray(coil_normal_field.vns, coil_normal_field.vnc)

@unittest.skipIf(py_spec is None, "py_spec not found")
def test_reduce_coilset(self):
"""
test if the coilset can be reduced, and
Expand Down

0 comments on commit c6276be

Please sign in to comment.