Skip to content

Commit

Permalink
Testing symlink Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Berlfein committed Sep 9, 2024
1 parent 07a7f67 commit a77428a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_psf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a77428a

Please sign in to comment.