def test_psf_wf_movie(): # Mock a command-line arguments object so we can run in the current process class Args(object): seed = 1 r0_500 = 0.2 nlayers = 3 time_step = 0.03 exptime = 0.3 screen_size = 51.2 screen_scale = 0.1 max_speed = 20.0 x = 0.0 y = 0.0 lam = 700.0 diam = 4.0 obscuration = 0.0 nstruts = 0 strut_thick = 0.05 strut_angle = 0.0 psf_nx = 512 psf_scale = 0.005 accumulate = False pad_factor = 1.0 oversampling = 1.0 psf_vmax = 0.0003 wf_vmax = 50.0 outfile = "output/test_psf_wf_movie.mp4" import psf_wf_movie try: psf_wf_movie.make_movie(Args) # Just checks that this runs, not the value of the output. except OSError as e: print(e) print('skipping test of psf_wf_movie.make_movie')