Commit 17c4b058fde09ee39d002b4fe075ad8bda22c689
1 parent
ecd8254d
Remove temporary directory
Showing
2 changed files
with
8 additions
and
0 deletions
test/test_python_cscripts.py
| @@ -188,6 +188,10 @@ def test(installed=False, debug=False): | @@ -188,6 +188,10 @@ def test(installed=False, debug=False): | ||
| 188 | else: | 188 | else: |
| 189 | rc = 1 | 189 | rc = 1 |
| 190 | 190 | ||
| 191 | + # Remove temporary direction | ||
| 192 | + if installed: | ||
| 193 | + os.rmdir(path) | ||
| 194 | + | ||
| 191 | # Exit with return code | 195 | # Exit with return code |
| 192 | sys.exit(rc) | 196 | sys.exit(rc) |
| 193 | 197 |
test/test_python_ctools.py
| @@ -158,6 +158,10 @@ def test(installed=False): | @@ -158,6 +158,10 @@ def test(installed=False): | ||
| 158 | else: | 158 | else: |
| 159 | rc = 1 | 159 | rc = 1 |
| 160 | 160 | ||
| 161 | + # Remove temporary direction | ||
| 162 | + if installed: | ||
| 163 | + os.rmdir(path) | ||
| 164 | + | ||
| 161 | # Exit with return code | 165 | # Exit with return code |
| 162 | sys.exit(rc) | 166 | sys.exit(rc) |
| 163 | 167 |