From a77428a55089cbfeab20054683b0027f3a57aea8 Mon Sep 17 00:00:00 2001 From: Federico Berlfein Date: Mon, 9 Sep 2024 12:59:26 -0400 Subject: [PATCH] Testing symlink Github Actions --- tests/test_psf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_psf.py b/tests/test_psf.py index 8d34d66..05d53b8 100644 --- a/tests/test_psf.py +++ b/tests/test_psf.py @@ -25,7 +25,8 @@ def test_get_psf_function(): psfobjs = euclidlike.euclidlike_psf._make_psf_list(psf_file) ## testing symlink failure - psfobjs = euclidlike.euclidlike_psf._make_psf_list("../monopsfs_6_6.fits.gz") + os.symlink(target_file, symlink_file) + psfobjs = euclidlike.euclidlike_psf._make_psf_list("../psfs/monopsfs_6_6.fits.gz") contents = os.listdir(psf_dir) print("Contents of directory:") pyfits.getdata(psf_file)