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-sims
csst_mci_sim
Commits
d248c28e
Commit
d248c28e
authored
Apr 16, 2024
by
Yan Zhaojun
Browse files
debug
parent
689d73d0
Pipeline
#4127
failed with stage
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tests/test_mci_sim.py
View file @
d248c28e
...
...
@@ -46,8 +46,10 @@ class TestDemoFunction(unittest.TestCase):
sourcein
=
'EXDF'
print
(
configfile
)
debug
=
True
csst_mci_sim
.
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
1
)
csst_mci_sim
.
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
debug
,
1
)
self
.
assertEqual
(
1
,
1
,
...
...
@@ -85,7 +87,9 @@ class TestDemoFunction(unittest.TestCase):
sourcein
=
'STAR'
print
(
configfile
)
csst_mci_sim
.
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
1
)
debug
=
True
csst_mci_sim
.
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
debug
,
1
)
self
.
assertEqual
(
1
,
1
,
...
...
@@ -124,7 +128,9 @@ class TestDemoFunction(unittest.TestCase):
sourcein
=
'BIAS'
print
(
configfile
)
csst_mci_sim
.
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
1
)
debug
=
True
csst_mci_sim
.
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
debug
,
1
)
self
.
assertEqual
(
1
,
1
,
...
...
@@ -162,7 +168,9 @@ class TestDemoFunction(unittest.TestCase):
sourcein
=
'DARK'
print
(
configfile
)
csst_mci_sim
.
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
1
)
debug
=
True
csst_mci_sim
.
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
debug
,
1
)
self
.
assertEqual
(
1
,
1
,
...
...
@@ -200,7 +208,9 @@ class TestDemoFunction(unittest.TestCase):
sourcein
=
'FLAT'
print
(
configfile
)
csst_mci_sim
.
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
1
)
debug
=
True
csst_mci_sim
.
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
debug
,
1
)
self
.
assertEqual
(
1
,
1
,
...
...
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