Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
bdabf937
Commit
bdabf937
authored
Dec 20, 2023
by
BO ZHANG
🏀
Browse files
tweaks
parent
8f3c7e38
Pipeline
#2597
running with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_fits_header_ops.py
View file @
bdabf937
...
...
@@ -5,7 +5,8 @@ Description: test append_header
Author: Bo Zhang
Created: 2023-12-15
Modified-History:
2023-12-15, Bo Zhang, add TestAppendHeader
2023-12-15, Bo Zhang, add TestFitsHeaderOps.test_append_header
2023-12-15, Bo Zhang, add TestFitsHeaderOps.test_reformat_header
"""
import
unittest
...
...
@@ -14,7 +15,7 @@ from astropy.io import fits
from
csst_common.io
import
append_header
,
reformat_header
class
Test
Append
Header
(
unittest
.
TestCase
):
class
Test
Fits
Header
Ops
(
unittest
.
TestCase
):
def
test_append_header
(
self
):
h1
=
fits
.
Header
()
h2
=
fits
.
Header
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment