test_get_ipython_dir_8, test / home directory
()
| 159 | |
| 160 | @skip_win32 |
| 161 | def test_get_ipython_dir_8(): |
| 162 | """test_get_ipython_dir_8, test / home directory""" |
| 163 | with patch.object(paths, '_writable_dir', lambda path: bool(path)), \ |
| 164 | patch.object(paths, 'get_xdg_dir', return_value=None), \ |
| 165 | modified_env({ |
| 166 | 'IPYTHON_DIR': None, |
| 167 | 'IPYTHONDIR': None, |
| 168 | 'HOME': '/', |
| 169 | }): |
| 170 | nt.assert_equal(paths.get_ipython_dir(), '/.ipython') |
| 171 | |
| 172 | |
| 173 | def test_get_ipython_cache_dir(): |
nothing calls this directly
no outgoing calls
no test coverage detected