Commit fbfbb515e01c55e019c620f59328a38f6bca742e

Authored by Jürgen Knödlseder
1 parent e81017c4

Correct inheritence in test_cssens.py

test/test_cscripts_class.py
1   -#! /usr/bin/env python
2 1 # ==========================================================================
3 2 # cscripts test base class
4 3 #
... ... @@ -22,13 +21,14 @@ import os
22 21 import gammalib
23 22  
24 23  
25   -# ======================= #
26   -# Test class for cscripts #
27   -# ======================= #
  24 +# ======================================= #
  25 +# Base class for unit testing of cscripts #
  26 +# ======================================= #
28 27 class cscripts_test(gammalib.GPythonTestSuite):
29 28 """
30 29 Test class for scripts
31 30 """
  31 +
32 32 # Constructor
33 33 def __init__(self):
34 34 """
... ...
test/test_cssens.py
... ... @@ -39,6 +39,9 @@ class Test(test_cscripts_class.cscripts_test):
39 39 """
40 40 Constructor
41 41 """
  42 + # Call base class constructor
  43 + test_cscripts_class.cscripts_test.__init__(self)
  44 +
42 45 # Return
43 46 return
44 47  
... ...