Show More
@@ -101,6 +101,7 b' with_enivronment = with_setup(setup_environment, teardown_environment)' | |||
|
101 | 101 | # Tests for get_home_dir |
|
102 | 102 | # |
|
103 | 103 | |
|
104 | @skip_if_not_win32 | |
|
104 | 105 | @with_enivronment |
|
105 | 106 | def test_get_home_dir_1(): |
|
106 | 107 | """Testcase for py2exe logic, un-compressed lib |
@@ -141,6 +142,7 b' def test_get_home_dir_4():' | |||
|
141 | 142 | if 'HOME' in env: del env['HOME'] |
|
142 | 143 | nt.assert_raises(genutils.HomeDirError, genutils.get_home_dir) |
|
143 | 144 | |
|
145 | @skip_if_not_win32 | |
|
144 | 146 | @with_enivronment |
|
145 | 147 | def test_get_home_dir_5(): |
|
146 | 148 | """Testcase $HOME is not set, os=='nt' |
@@ -153,6 +155,7 b' def test_get_home_dir_5():' | |||
|
153 | 155 | home_dir = genutils.get_home_dir() |
|
154 | 156 | nt.assert_equal(home_dir, abspath(join(test_file_path, "home_test_dir"))) |
|
155 | 157 | |
|
158 | @skip_if_not_win32 | |
|
156 | 159 | @with_enivronment |
|
157 | 160 | def test_get_home_dir_6(): |
|
158 | 161 | """Testcase $HOME is not set, os=='nt' |
General Comments 0
You need to be logged in to leave comments.
Login now