()
| 88 | |
| 89 | @contextlib.contextmanager |
| 90 | def mock_no_home_dir(): |
| 91 | with unittest.mock.patch( |
| 92 | 'pathlib.Path.home', unittest.mock.Mock(side_effect=RuntimeError) |
| 93 | ): |
| 94 | yield |
| 95 | |
| 96 | |
| 97 | @contextlib.contextmanager |
no outgoing calls
no test coverage detected