@@ -224,10 +224,10 @@ def test_gunzip():
224224@pytest .mark .skipif (not MOVIEPY_AVAILABLE , reason = 'MoviePy is not installed.' )
225225def test_generate_movie ():
226226 files = [
227- 'https://github.com/ARM-DOE/ACT/blob/main/tests/plotting/baseline/test_contour. png?raw=true ' ,
228- 'https://github.com/ARM-DOE/ACT/blob/main/tests/plotting/baseline/test_contour2. png?raw=true ' ,
229- 'https://github.com/ARM-DOE/ACT/blob/main/tests/plotting/baseline/test_contourf. png?raw=true ' ,
230- 'https://github.com/ARM-DOE/ACT/blob/main/tests/plotting/baseline/test_contourf2. png?raw=true ' ,
227+ 'https://plot.dmf.arm.gov/PLOTS/sgp/sgpmet/20260312/sgpmetE12.b1.precip.20260312. png' ,
228+ 'https://plot.dmf.arm.gov/PLOTS/sgp/sgpmet/20260311/sgpmetE12.b1.precip.20260311. png' ,
229+ 'https://plot.dmf.arm.gov/PLOTS/sgp/sgpmet/20260310/sgpmetE12.b1.precip.20260310. png' ,
230+ 'https://plot.dmf.arm.gov/PLOTS/sgp/sgpmet/20260309/sgpmetE12.b1.precip.20260309. png' ,
231231 ]
232232 cwd = Path .cwd ()
233233 with tempfile .TemporaryDirectory () as tmpdirname :
@@ -239,12 +239,14 @@ def test_generate_movie():
239239 assert Path (result ).name == 'movie.mp4'
240240
241241 # Test list of files for making movie
242- files = [
243- 'test_contour.png' ,
244- 'test_contour2.png' ,
245- 'test_contourf.png' ,
246- 'test_contourf2.png' ,
247- ]
242+ files = sorted (
243+ [
244+ 'test_contour.png' ,
245+ 'test_contour2.png' ,
246+ 'test_contourf.png' ,
247+ 'test_contourf2.png' ,
248+ ]
249+ )
248250 basepath = Path (Path (__file__ ).parents [1 ], 'plotting' , 'baseline' )
249251 files = [Path (basepath , fl ) for fl in files ]
250252 write_filename = Path (tmpdirname , 'one' , 'two' , 'three' , 'movie_filename_testing.mp4' )
0 commit comments