Skip to content

Commit a671392

Browse files
committed
fix: test have correct paths based on refactor of datastore
1 parent 8077c00 commit a671392

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_calibration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ def test_apply_adds_offsets_together_correctly(tmp_path):
210210
def test_apply_writes_magnitudes_correctly(tmp_path):
211211
prepare_test_file(
212212
"imap_mag_l1c_norm-mago-four-vectors-four-ranges_20251017_v000.cdf",
213-
"l1c",
213+
"science/mag/l1c",
214214
2025,
215215
10,
216216
)
217217
prepare_test_file(
218218
"imap_mag_four-vector-offsets-layer_20251017_v001.json",
219-
"calibration/layer",
219+
"calibration/layers",
220220
2025,
221221
10,
222222
)
@@ -226,7 +226,7 @@ def test_apply_writes_magnitudes_correctly(tmp_path):
226226
date=datetime(2025, 10, 17),
227227
)
228228

229-
output_file = "output/imap/mag/l2-pre/2025/10/imap_mag_l2-pre_norm-mago-four-vectors-four-ranges_20251017_v000.cdf"
229+
output_file = "output/science/mag/l2-pre/2025/10/imap_mag_l2-pre_norm-mago-four-vectors-four-ranges_20251017_v000.cdf"
230230

231231
assert Path(output_file).exists()
232232

0 commit comments

Comments
 (0)