From 69cc85a488cfd8f7b895e053501341143ca03e1a Mon Sep 17 00:00:00 2001 From: Carlos Paniagua Date: Fri, 18 Aug 2023 14:48:20 -0400 Subject: [PATCH] test: update tests --- test/test-h5.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-h5.jl b/test/test-h5.jl index f59de688..01f1d15f 100644 --- a/test/test-h5.jl +++ b/test/test-h5.jl @@ -10,7 +10,7 @@ getcorners(m) = [m[1, 1], m[end, end]] latcorners = getcorners(latlondata["latitude"]) loncorners = getcorners(latlondata["longitude"]) -iftversion = IFTPipeline.getiftversion() +_iftversion = IFTPipeline.iftversion[1] ptpath = joinpath(resdir, "passtimes.jls") passtimes = deserialize(ptpath) @@ -44,7 +44,7 @@ h5path = joinpath(resdir, "hdf5-files", "20220914T1244.aqua.labeled_image.250m.h @test typeof(fid) == HDF5.File # top level attributes - @test attrs(fid)["iftversion"] == iftversion + @test attrs(fid)["iftversion"] == _iftversion @test attrs(fid)["fname_reflectance"] == reflectance_refs[1] @test attrs(fid)["fname_truecolor"] == truecolor_refs[1] @test attrs(fid)["crs"] == latlondata["crs"]