Skip to content

Commit

Permalink
Relabel unit/regression tests for speed/efficiency
Browse files Browse the repository at this point in the history
  • Loading branch information
f0uriest committed Jul 26, 2023
1 parent 0753bf7 commit 44f2877
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_SOLOVEV_results(SOLOVEV):
np.testing.assert_allclose(theta_err, 0, atol=1e-4)


@pytest.mark.regression
@pytest.mark.unit
@pytest.mark.solve
def test_DSHAPE_results(DSHAPE):
"""Tests that the DSHAPE examples gives the same results as VMEC."""
Expand All @@ -73,7 +73,7 @@ def test_DSHAPE_results(DSHAPE):
np.testing.assert_allclose(theta_err, 0, atol=1e-4)


@pytest.mark.regression
@pytest.mark.unit
@pytest.mark.solve
def test_DSHAPE_current_results(DSHAPE_current):
"""Tests that the DSHAPE with fixed current gives the same results as VMEC."""
Expand All @@ -93,7 +93,7 @@ def test_HELIOTRON_results(HELIOTRON):
np.testing.assert_allclose(theta_err.mean(), 0, atol=2e-2)


@pytest.mark.regression
@pytest.mark.unit
@pytest.mark.solve
def test_HELIOTRON_vac_results(HELIOTRON_vac):
"""Tests that the HELIOTRON examples gives the same results as VMEC."""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_perturbations.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from desc.perturbations import optimal_perturb, perturb


@pytest.mark.unit
@pytest.mark.regression
@pytest.mark.slow
@pytest.mark.solve
def test_perturbation_orders(SOLOVEV):
Expand Down

0 comments on commit 44f2877

Please sign in to comment.