Commit d248c28e authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

debug

parent 689d73d0
Pipeline #4127 failed with stage
in 0 seconds
...@@ -46,8 +46,10 @@ class TestDemoFunction(unittest.TestCase): ...@@ -46,8 +46,10 @@ class TestDemoFunction(unittest.TestCase):
sourcein = 'EXDF' sourcein = 'EXDF'
print(configfile) 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( self.assertEqual(
1 , 1, 1 , 1,
...@@ -85,7 +87,9 @@ class TestDemoFunction(unittest.TestCase): ...@@ -85,7 +87,9 @@ class TestDemoFunction(unittest.TestCase):
sourcein = 'STAR' sourcein = 'STAR'
print(configfile) 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( self.assertEqual(
1 , 1, 1 , 1,
...@@ -124,7 +128,9 @@ class TestDemoFunction(unittest.TestCase): ...@@ -124,7 +128,9 @@ class TestDemoFunction(unittest.TestCase):
sourcein = 'BIAS' sourcein = 'BIAS'
print(configfile) 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( self.assertEqual(
1 , 1, 1 , 1,
...@@ -162,7 +168,9 @@ class TestDemoFunction(unittest.TestCase): ...@@ -162,7 +168,9 @@ class TestDemoFunction(unittest.TestCase):
sourcein = 'DARK' sourcein = 'DARK'
print(configfile) 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( self.assertEqual(
1 , 1, 1 , 1,
...@@ -200,7 +208,9 @@ class TestDemoFunction(unittest.TestCase): ...@@ -200,7 +208,9 @@ class TestDemoFunction(unittest.TestCase):
sourcein = 'FLAT' sourcein = 'FLAT'
print(configfile) 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( self.assertEqual(
1 , 1, 1 , 1,
......
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