##// END OF EJS Templates
get_home_dir expands symlinks, adjust test accordingly
MinRK -
Show More
@@ -150,7 +150,8 b' def test_get_home_dir_3():'
150 """get_home_dir() uses $HOME if set"""
150 """get_home_dir() uses $HOME if set"""
151 env["HOME"] = HOME_TEST_DIR
151 env["HOME"] = HOME_TEST_DIR
152 home_dir = path.get_home_dir(True)
152 home_dir = path.get_home_dir(True)
153 nt.assert_equal(home_dir, env["HOME"])
153 # get_home_dir expands symlinks
154 nt.assert_equal(home_dir, os.path.realpath(env["HOME"]))
154
155
155
156
156 @with_environment
157 @with_environment
General Comments 0
You need to be logged in to leave comments. Login now