From fbfbb515e01c55e019c620f59328a38f6bca742e Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Thu, 30 Jun 2016 17:35:14 +0200 Subject: [PATCH] Correct inheritence in test_cssens.py --- test/test_cscripts_class.py | 8 ++++---- test/test_cssens.py | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/test/test_cscripts_class.py b/test/test_cscripts_class.py index 3262639..085a5cd 100755 --- a/test/test_cscripts_class.py +++ b/test/test_cscripts_class.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python # ========================================================================== # cscripts test base class # @@ -22,13 +21,14 @@ import os import gammalib -# ======================= # -# Test class for cscripts # -# ======================= # +# ======================================= # +# Base class for unit testing of cscripts # +# ======================================= # class cscripts_test(gammalib.GPythonTestSuite): """ Test class for scripts """ + # Constructor def __init__(self): """ diff --git a/test/test_cssens.py b/test/test_cssens.py index caf5685..b489190 100755 --- a/test/test_cssens.py +++ b/test/test_cssens.py @@ -39,6 +39,9 @@ class Test(test_cscripts_class.cscripts_test): """ Constructor """ + # Call base class constructor + test_cscripts_class.cscripts_test.__init__(self) + # Return return -- libgit2 0.21.4