diff options
author | Nadia Dencheva <nadia.dencheva@gmail.com> | 2016-12-15 16:58:28 -0500 |
---|---|---|
committer | Nadia Dencheva <nadia.dencheva@gmail.com> | 2016-12-15 16:58:28 -0500 |
commit | 4b46410a60318138892d9726eb2f472f619d425d (patch) | |
tree | 0a04dd2a1024b01948d83f8958dfe41afa9ae85b /stwcs/tests/test_altwcs.py | |
parent | a6eb705d7bcb11ae1951a9fef0c8256a49f5f52c (diff) | |
download | stwcs_hcf-4b46410a60318138892d9726eb2f472f619d425d.tar.gz |
Add tests
Diffstat (limited to 'stwcs/tests/test_altwcs.py')
-rw-r--r-- | stwcs/tests/test_altwcs.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/stwcs/tests/test_altwcs.py b/stwcs/tests/test_altwcs.py index d646106..fa7eb9b 100644 --- a/stwcs/tests/test_altwcs.py +++ b/stwcs/tests/test_altwcs.py @@ -117,7 +117,6 @@ class TestAltWCS(object): def test_restore_wcs_from_to(self): # test restore from ... to ... - #altwcs.archiveWCS(self.acs_file, ext=[('SCI',1), ('SCI',2)], wcskey='T') pyfits.setval(self.acs_file, ext=('SCI', 1), keyword='CRVAL1', value=1) pyfits.setval(self.acs_file, ext=('SCI', 2), keyword='CRVAL1', value=1) f = pyfits.open(self.acs_file, mode='update') @@ -140,9 +139,7 @@ class TestAltWCS(object): compare_wcs(w3, w1o, exclude_keywords=['ctype']) def test_delete_wcs(self): - #altwcs.archiveWCS(self.acs_file, ext=1, wcskey='Z') altwcs.deleteWCS(self.acs_file, ext=1, wcskey='Z') - #utils.assert_raises(KeyError, wcsutil.HSTWCS, self.acs_file, ext=1, wcskey='Z') with pytest.raises(KeyError): wcsutil.HSTWCS(self.acs_file, ext=1, wcskey='Z') |