Skip to content

Commit

Permalink
test: fix bad path in test config files
Browse files Browse the repository at this point in the history
  • Loading branch information
alastairtree committed Jul 29, 2024
1 parent 142960c commit 68ba292
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
8 changes: 8 additions & 0 deletions tests/config/calibration_application_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
source:
folder: tests/data/2025

work-folder: .work

destination:
folder: output/
filename: L2.cdf
8 changes: 8 additions & 0 deletions tests/config/calibration_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
source:
folder: tests/data/2025

work-folder: .work

destination:
folder: output/
filename: calibration.json
4 changes: 2 additions & 2 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_calibration_creates_calibration_file(tidyDataFolders):
[
"calibrate",
"--config",
"calibration_config.yml",
"tests/config/calibration_config.yml",
"--method",
"SpinAxisCalibrator",
"imap_mag_l1a_norm-mago_20250502_v000.cdf",
Expand All @@ -121,7 +121,7 @@ def test_application_creates_L2_file(tidyDataFolders):
[
"apply",
"--config",
"calibration_application_config.yml",
"tests/config/calibration_application_config.yml",
"--calibration",
"calibration.json",
"imap_mag_l1a_norm-mago_20250502_v000.cdf",
Expand Down

0 comments on commit 68ba292

Please sign in to comment.