test_get_ipython_dir_1, Testcase to see if we can call get_ipython_dir without Exceptions.
()
| 46 | |
| 47 | |
| 48 | def test_get_ipython_dir_1(): |
| 49 | """test_get_ipython_dir_1, Testcase to see if we can call get_ipython_dir without Exceptions.""" |
| 50 | env_ipdir = os.path.join("someplace", ".ipython") |
| 51 | with patch.object(paths, '_writable_dir', return_value=True), \ |
| 52 | modified_env({'IPYTHONDIR': env_ipdir}): |
| 53 | ipdir = paths.get_ipython_dir() |
| 54 | |
| 55 | nt.assert_equal(ipdir, env_ipdir) |
| 56 | |
| 57 | def test_get_ipython_dir_2(): |
| 58 | """test_get_ipython_dir_2, Testcase to see if we can call get_ipython_dir without Exceptions.""" |
nothing calls this directly
no outgoing calls
no test coverage detected