##// END OF EJS Templates
don't check writability in test for get_home_dir when HOME is undefined...
MinRK -
Show More
@@ -159,9 +159,8 b' def test_get_home_dir_4():'
159 """get_home_dir() still works if $HOME is not set"""
159 """get_home_dir() still works if $HOME is not set"""
160
160
161 if 'HOME' in env: del env['HOME']
161 if 'HOME' in env: del env['HOME']
162 # this should still succeed, but we don't know what the answer should be
162 # this should still succeed, but we don't care what the answer is
163 home = path.get_home_dir(True)
163 home = path.get_home_dir(False)
164 nt.assert_true(path._writable_dir(home))
165
164
166 @with_environment
165 @with_environment
167 def test_get_home_dir_5():
166 def test_get_home_dir_5():
General Comments 0
You need to be logged in to leave comments. Login now