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
ecf13b22
Commit
ecf13b22
authored
Apr 12, 2024
by
Yan Zhaojun
Browse files
redate ifs_sim
parent
7134f230
Pipeline
#3990
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_ifs_sim.py
View file @
ecf13b22
...
@@ -13,6 +13,7 @@ import unittest
...
@@ -13,6 +13,7 @@ import unittest
import
os
import
os
from
csst_ifs_sim
import
csst_ifs_sim
from
csst_ifs_sim
import
csst_ifs_sim
import
subprocess
import
subprocess
import
sys
class
TestDemoFunction
(
unittest
.
TestCase
):
class
TestDemoFunction
(
unittest
.
TestCase
):
def
test_ifs_sim_1
(
self
):
def
test_ifs_sim_1
(
self
):
...
@@ -33,6 +34,7 @@ class TestDemoFunction(unittest.TestCase):
...
@@ -33,6 +34,7 @@ class TestDemoFunction(unittest.TestCase):
# demo function test
# demo function test
dir_path
=
os
.
path
.
join
(
os
.
environ
[
'UNIT_TEST_DATA_ROOT'
],
'ifs_sim/'
)
dir_path
=
os
.
path
.
join
(
os
.
environ
[
'UNIT_TEST_DATA_ROOT'
],
'ifs_sim/'
)
print
(
dir_path
)
print
(
dir_path
)
print
(
sys
.
version
)
###configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C90.config'
###configfile = dir_path+'IFS_inputdata/configData/IFS_sim_C90.config'
configfile
=
'./ifs_data/IFS_sim_C90.config'
configfile
=
'./ifs_data/IFS_sim_C90.config'
...
...
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