diff --git a/test/test_python_cscripts.py b/test/test_python_cscripts.py index a5ab2c0..d867631 100755 --- a/test/test_python_cscripts.py +++ b/test/test_python_cscripts.py @@ -166,6 +166,15 @@ def test(installed=False, debug=False): ver = sys.version.split()[0] if ver >= '2.6.0': + # Check for VHEFITS environment variable + if 'VHEFITS' in os.environ: + + # If existent unset for the test cases + # Since Python is executed in a subprocess + # this will not impact the environment variable in + # the parent shell + del os.environ['VHEFITS'] + # Allocate test suites suite_csfindobs = test_csfindobs.Test() suite_csiactcopy = test_csiactcopy.Test()