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_ifs_sim
Commits
23f07294
Commit
23f07294
authored
Apr 10, 2024
by
Yan Zhaojun
Browse files
update setup.py
parent
96d97141
Pipeline
#3959
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_ifs_sim.py
View file @
23f07294
...
@@ -12,7 +12,7 @@ Modified-History:
...
@@ -12,7 +12,7 @@ Modified-History:
import
unittest
import
unittest
import
os
import
os
from
csst_ifs_sim
import
csst_ifs_sim
from
csst_ifs_sim
import
csst_ifs_sim
import
subprocess
class
TestDemoFunction
(
unittest
.
TestCase
):
class
TestDemoFunction
(
unittest
.
TestCase
):
def
test_ifs_sim_1
(
self
):
def
test_ifs_sim_1
(
self
):
...
@@ -37,7 +37,9 @@ class TestDemoFunction(unittest.TestCase):
...
@@ -37,7 +37,9 @@ class TestDemoFunction(unittest.TestCase):
d
=
1
d
=
1
csst_ifs_sim
(
dir_path
)
subprocess
.
run
(
'csst_ifs_sim'
,
dir_path
)
#csst_ifs_sim dir_path
self
.
assertEqual
(
self
.
assertEqual
(
d
,
1
,
d
,
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