Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
1 year ago
by
Yan Zhaojun
Browse files
Options
Download
Email Patches
Plain Diff
redate ifs_sim
parent
7134f230
develop
main
master
yanzhaojun-develop-patch-92489
No related merge requests found
Pipeline
#3990
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_ifs_sim.py
+2
-0
tests/test_ifs_sim.py
with
2 additions
and
0 deletions
+2
-0
tests/test_ifs_sim.py
+
2
-
0
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'
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets