(self)
| 65 | assert result.exit_code == 0, f"Initial save failed: {result.output}" |
| 66 | |
| 67 | def tearDown(self): |
| 68 | path = Path(TEST_DIRECTORY_SAVE) |
| 69 | if path.exists() and path.is_dir(): |
| 70 | try: |
| 71 | shutil.rmtree(path) |
| 72 | print(f"Removed old test folder: {path}") |
| 73 | except OSError as e: |
| 74 | print(f"Error removing {path}: {e}") |
| 75 | |
| 76 | @classmethod |
| 77 | def tearDownClass(cls): |