get_home_dir() uses $HOME if set
()
| 133 | @skip_win32_py38 |
| 134 | @with_environment |
| 135 | def test_get_home_dir_3(): |
| 136 | """get_home_dir() uses $HOME if set""" |
| 137 | env["HOME"] = HOME_TEST_DIR |
| 138 | home_dir = path.get_home_dir(True) |
| 139 | # get_home_dir expands symlinks |
| 140 | nt.assert_equal(home_dir, os.path.realpath(env["HOME"])) |
| 141 | |
| 142 | |
| 143 | @with_environment |
nothing calls this directly
no outgoing calls
no test coverage detected