Skip to content

Commit

Permalink
fix disp reference test
Browse files Browse the repository at this point in the history
  • Loading branch information
scottstanie committed Oct 12, 2024
1 parent 702d390 commit cd01b46
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/test_workflows_displacement.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,18 @@ def test_displacement_run_extra_reference_date(
]

unw_names = [pp.name for pp in paths.unwrapped_paths]
if cfg.unwrap_options.unwrap_method == "phass":
if cfg.unwrap_options.unwrap_method == "spurt":
assert unw_names == [
"20220101_20220102.unw.tif",
"20220101_20220103.unw.tif",
"20220101_20220104.unw.tif",
"20220102_20220103.unw.tif",
"20220102_20220104.unw.tif",
"20220103_20220104.unw.tif",
]
else:
assert unw_names is None
assert unw_names == [
"20220101_20220102.unw.tif",
"20220101_20220103.unw.tif",
"20220103_20220104.unw.tif",
]

0 comments on commit cd01b46

Please sign in to comment.