Skip to content

Commit

Permalink
Merge pull request #143 from brown-ccv/refactor-test-suite-for-speed
Browse files Browse the repository at this point in the history
Refactor test suite test_steps.py to run step that takes the longest first
  • Loading branch information
cpaniaguam authored Mar 4, 2024
2 parents 7169d79 + 3723824 commit 4d7e52f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ def teardown_module():
"""
shutil.rmtree(__outdir[-1])

def test_step5():
# Step 5: B04_angle.py ~ 9 min
assert run_test(script5, paths5)


def test_step1():
# Step 1: B01_SL_load_single_file.py ~ 2 minutes
Expand Down Expand Up @@ -379,11 +383,6 @@ def test_step4():
assert t2


def test_step5():
# Step 5: B04_angle.py ~ 9 min
assert run_test(script5, paths5)


def test_step6():
# Step 5: B05_define_angle.py ~
assert run_test(script6, paths6)
Expand Down

0 comments on commit 4d7e52f

Please sign in to comment.