Skip to content

Commit

Permalink
TST: fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jklymak committed Aug 31, 2024
1 parent d619dbf commit 8cee59c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/_copyresultstoexpected.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""
If we run the tests and decide we want all the test results to be copied over, this is faster...
"""
from pathlib import Path
from shutil import copy

todo = {'example-data/example-seaexplorer/L0-timeseries-test/dfo-eva035-20190718.nc':
'expected/example-seaexplorer/L0-timeseries',
'example-data/example-seaexplorer-raw/L0-timeseries-test/dfo-bb046-20200908.nc': 'expected/example-seaexplorer-raw/L0-timeseries',
'example-data/example-slocum/L0-timeseries/dfo-rosie713-20190615.nc': 'expected/example-slocum/L0-timeseries',
'example-data/example-slocum-littleendian/L0-timeseries-test/dfo-maria997-20220614.nc': 'expected/example-slocum-littleendian/L0-timeseries'

}

for td in todo:
copy(td, todo[td])

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 8cee59c

Please sign in to comment.