Skip to content

Commit 9c51c65

Browse files
committed
MNT: Update tests for pre-commit
1 parent ec3c113 commit 9c51c65

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/lambda_endpoints/test_dependency_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ def test_missing_required_params():
173173
"""Test that 400 error is returned."""
174174
with pytest.raises(
175175
ValueError,
176-
match="end_date not found. If 'start_date' is "
177-
"supplied, 'end_date' is required.",
176+
match=r"end_date not found. If 'start_date' is "
177+
r"supplied, 'end_date' is required.",
178178
):
179179
dependency.get_jobs(
180180
dependency_type="DOWNSTREAM",

tests/lambda_endpoints/test_spice_indexer_lambda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_get_coverage_dictionary_left_out_of_range(
110110
spiceypy.utc2et("2000-01-01T00:00:00"),
111111
spiceypy.utc2et("2025-12-26T00:00:00"),
112112
)
113-
results_j2000, results_datetime, results_sclk = get_coverage_dictionary(
113+
results_j2000, _results_datetime, results_sclk = get_coverage_dictionary(
114114
Path("/foo/bar/earth_000101_251226_250929.bpc")
115115
)
116116
assert results_j2000[0][0] == MAXIMUM_J2000_INTERVAL[0][0]

0 commit comments

Comments
 (0)