diff --git a/test/test_python_cscripts.py b/test/test_python_cscripts.py index af6dbc3..09eea3a 100755 --- a/test/test_python_cscripts.py +++ b/test/test_python_cscripts.py @@ -188,6 +188,10 @@ def test(installed=False, debug=False): else: rc = 1 + # Remove temporary direction + if installed: + os.rmdir(path) + # Exit with return code sys.exit(rc) diff --git a/test/test_python_ctools.py b/test/test_python_ctools.py index 67cf118..db05434 100755 --- a/test/test_python_ctools.py +++ b/test/test_python_ctools.py @@ -158,6 +158,10 @@ def test(installed=False): else: rc = 1 + # Remove temporary direction + if installed: + os.rmdir(path) + # Exit with return code sys.exit(rc)