diff options
author | lim <lim@stsci.edu> | 2012-05-21 14:19:51 -0400 |
---|---|---|
committer | lim <lim@stsci.edu> | 2012-05-21 14:19:51 -0400 |
commit | 8e6b72470bd7ce8a709b2538e4cd2becd16154ae (patch) | |
tree | 75f5c0faae2472ea93ea81fbc2b63ccf3abaa0d1 /lib/test/test.py | |
parent | 41959ca9c7056f27214c53fba2650402e84117ef (diff) | |
download | stsci.sphere-8e6b72470bd7ce8a709b2538e4cd2becd16154ae.tar.gz |
lim fixed tests that failed because of image de-compression on SVN
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@16923 fe389314-cf27-0410-b35b-8c050e845b92
Former-commit-id: 4bf54e5d84f6f6984ce3ad70ed05b1e048de6f02
Diffstat (limited to 'lib/test/test.py')
-rw-r--r-- | lib/test/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test/test.py b/lib/test/test.py index c6c1fcd..bceac50 100644 --- a/lib/test/test.py +++ b/lib/test/test.py @@ -10,7 +10,7 @@ from sphere import polygon from sphere import vector from .test_util import * - +from test_shared import resolve_imagename graph.DEBUG = True @@ -155,7 +155,7 @@ def test_point_in_poly(): def test_point_in_poly_lots(): import pyfits - fits = pyfits.open(os.path.join(ROOT_DIR, '1904-66_TAN.fits')) + fits = pyfits.open(resolve_imagename(ROOT_DIR, '1904-66_TAN.fits')) header = fits[0].header poly1 = polygon.SphericalPolygon.from_wcs( |