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
9a64dad6
Commit
9a64dad6
authored
Sep 23, 2025
by
BO ZHANG
🏀
Browse files
tweaks
parent
a3b2b3c5
Pipeline
#10491
passed with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tests/test_fits_header_ops.py
View file @
9a64dad6
...
@@ -135,10 +135,6 @@ class TestFitsHeaderOps(unittest.TestCase):
...
@@ -135,10 +135,6 @@ class TestFitsHeaderOps(unittest.TestCase):
h
=
generate_meta
()
h
=
generate_meta
()
self
.
assertIsInstance
(
h
,
fits
.
Header
)
self
.
assertIsInstance
(
h
,
fits
.
Header
)
def
test_generate_meta_with_invalid_args
(
self
):
with
self
.
assertRaises
(
AssertionError
):
generate_meta
(
obs_id
=
1
)
def
test_append_meta
(
self
):
def
test_append_meta
(
self
):
hdulist
=
fits
.
HDUList
([
fits
.
PrimaryHDU
()])
hdulist
=
fits
.
HDUList
([
fits
.
PrimaryHDU
()])
hdulist
=
append_meta
(
hdulist
,
obs_id
=
"123456"
)
hdulist
=
append_meta
(
hdulist
,
obs_id
=
"123456"
)
...
...
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