Commit 76de53765886723b2e45ace9e4bf428883b9f1a9
1 parent
df630617
Fix help text in csspec (#2938)
Update 'test/data/spectrum.fits' to use the new column names
Showing
2 changed files
with
2 additions
and
2 deletions
test/data/spectrum.fits
100755 → 100644
No preview for this file type
test/test_csspec.py
| ... | ... | @@ -329,7 +329,7 @@ class Test(test): |
| 329 | 329 | if lbins > 0: |
| 330 | 330 | # Should be 13 columns |
| 331 | 331 | self.test_value(spectrum.ncols(), 13, |
| 332 | - 'Check for 8 columns in spectrum') | |
| 332 | + 'Check for 13 columns in spectrum') | |
| 333 | 333 | self.test_value(flux_keys[0], 'likelihood', |
| 334 | 334 | 'Check that \'SED_TYPE\' card is \'likelihood\'') |
| 335 | 335 | # Make sure the profile has the appropriate entries |
| ... | ... | @@ -340,7 +340,7 @@ class Test(test): |
| 340 | 340 | else: |
| 341 | 341 | # Should be 10 columns |
| 342 | 342 | self.test_value(spectrum.ncols(), 10, |
| 343 | - 'Check for 8 columns in spectrum') | |
| 343 | + 'Check for 10 columns in spectrum') | |
| 344 | 344 | self.test_value(flux_keys[0], 'norm', |
| 345 | 345 | 'Check that \'SED_TYPE\' card is \'norm\'') |
| 346 | 346 | ... | ... |