Skip to content

Commit

Permalink
add missing unit test markers
Browse files Browse the repository at this point in the history
  • Loading branch information
dpanici committed Oct 16, 2024
1 parent 12d9772 commit e395f79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_objective_funs.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,7 @@ def test(coil, grid=None):
test(mixed_coils)
test(nested_coils, grid=grid)

@pytest.mark.unit
def test_coil_type_error(self):
"""Tests error when objective is not passed a coil."""
curve = FourierPlanarCurve(r_n=2, basis="rpz")
Expand Down Expand Up @@ -1102,6 +1103,7 @@ def test(

# TODO: add more complex test case with a stellarator and/or MixedCoilSet

@pytest.mark.unit
def test_quadratic_flux(self):
"""Test calculation of quadratic flux on the boundary."""
t_field = ToroidalMagneticField(1, 1)
Expand Down

0 comments on commit e395f79

Please sign in to comment.