Skip to content

Commit

Permalink
Update tests for proseco p2 overlap change
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanconn committed Mar 28, 2024
1 parent 9b98561 commit ceccd8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sparkles/tests/test_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ def test_check_guide_geometry(aca_review_table):
assert len(acar.messages) == 1
msg = acar.messages[0]
assert msg["category"] == "critical"
assert 'Guide indexes [4, 5, 6] clustered within 500" radius' in msg["text"]
assert 'Guide indexes [4, 7, 8] clustered within 500" radius' in msg["text"]

# Test for cluster of 3 500" rad stars in a 5 star case, but downgrade
# the warning for the case when the maneuver angle away is <= 5
Expand All @@ -915,7 +915,7 @@ def test_check_guide_geometry(aca_review_table):
assert len(acar.messages) == 1
msg = acar.messages[0]
assert msg["category"] == "warning"
assert 'Guide indexes [4, 5, 6] clustered within 500" radius' in msg["text"]
assert 'Guide indexes [4, 7, 8] clustered within 500" radius' in msg["text"]


def test_pickle():
Expand Down
2 changes: 1 addition & 1 deletion sparkles/tests/test_yoshi.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_run_one_yoshi(proseco_agasc_1p7):
"n_warning": 1,
"n_caution": 0,
"n_info": 1,
"P2": 1.801521445484349,
"P2": 1.7923666714605953,
"guide_count": 3.8577301426624357,
}

Expand Down

0 comments on commit ceccd8e

Please sign in to comment.