Commit 22ec4bca authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update

parent 18532da0
Pipeline #3933 passed with stage
in 0 seconds
...@@ -4761,7 +4761,7 @@ if __name__ == "__main__": ...@@ -4761,7 +4761,7 @@ if __name__ == "__main__":
if len(sys.argv[:])>=2: if len(sys.argv[:])>=2:
configfile=sys.argv[1] configfile=sys.argv[1]+'IFS_inputdata/configData/IFS_sim_C90.config'
if not os.path.exists(fonfigfile): if not os.path.exists(fonfigfile):
print('The given input fonfigfile path is wrong......') print('The given input fonfigfile path is wrong......')
sys.exit(1) sys.exit(1)
......
...@@ -32,7 +32,7 @@ class TestDemoFunction(unittest.TestCase): ...@@ -32,7 +32,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`. This case aims to test whether the demo function returns `1` if input is `None`.
""" """
# demo function test # demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData') dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path) csst_ifs_sim(dir_path)
...@@ -58,7 +58,7 @@ class TestDemoFunction(unittest.TestCase): ...@@ -58,7 +58,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`. This case aims to test whether the demo function returns `1` if input is `None`.
""" """
# demo function test # demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData') dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path,BIAS) csst_ifs_sim(dir_path,BIAS)
...@@ -83,7 +83,7 @@ class TestDemoFunction(unittest.TestCase): ...@@ -83,7 +83,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`. This case aims to test whether the demo function returns `1` if input is `None`.
""" """
# demo function test # demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData') dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path,'DARK') csst_ifs_sim(dir_path,'DARK')
...@@ -110,7 +110,7 @@ class TestDemoFunction(unittest.TestCase): ...@@ -110,7 +110,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`. This case aims to test whether the demo function returns `1` if input is `None`.
""" """
# demo function test # demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData') dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path,'LAMP') csst_ifs_sim(dir_path,'LAMP')
...@@ -137,7 +137,7 @@ class TestDemoFunction(unittest.TestCase): ...@@ -137,7 +137,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`. This case aims to test whether the demo function returns `1` if input is `None`.
""" """
# demo function test # demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData') dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path,'FLAT') csst_ifs_sim(dir_path,'FLAT')
...@@ -163,7 +163,7 @@ class TestDemoFunction(unittest.TestCase): ...@@ -163,7 +163,7 @@ class TestDemoFunction(unittest.TestCase):
This case aims to test whether the demo function returns `1` if input is `None`. This case aims to test whether the demo function returns `1` if input is `None`.
""" """
# demo function test # demo function test
dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim/IFS_inputData/configData') dir_path=os.path.join(os.environ['UNIT_TEST_DATA_ROOT'],'ifs_sim')
csst_ifs_sim(dir_path,'LAMP', 'yes') csst_ifs_sim(dir_path,'LAMP', 'yes')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment