Commit e81017c4720391ae2572c01b3a0c0a1c8486532d

Authored by Jürgen Knödlseder
1 parent 6f04fe26

Update test_cssens.py

test/test_cscripts_class.py
... ... @@ -34,6 +34,9 @@ class cscripts_test(gammalib.GPythonTestSuite):
34 34 """
35 35 Constructor
36 36 """
  37 + # Call base class constructor
  38 + gammalib.GPythonTestSuite.__init__(self)
  39 +
37 40 # Return
38 41 return
39 42  
... ... @@ -49,7 +52,7 @@ class cscripts_test(gammalib.GPythonTestSuite):
49 52 script = name
50 53  
51 54 # Return script name
52   - return name
  55 + return script
53 56  
54 57 # Execute command and catch any exception
55 58 def _execute(self, cmd):
... ...
test/test_cssens.py
... ... @@ -18,7 +18,6 @@
18 18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 19 #
20 20 # ==========================================================================
21   -import os
22 21 import gammalib
23 22 import cscripts
24 23 import test_cscripts_class
... ... @@ -40,9 +39,6 @@ class Test(test_cscripts_class.cscripts_test):
40 39 """
41 40 Constructor
42 41 """
43   - # Call base class constructor
44   - gammalib.GPythonTestSuite.__init__(self)
45   -
46 42 # Return
47 43 return
48 44  
... ...