Testcase for py2exe logic, un-compressed lib
()
| 104 | @skip_if_not_win32 |
| 105 | @with_environment |
| 106 | def test_get_home_dir_1(): |
| 107 | """Testcase for py2exe logic, un-compressed lib |
| 108 | """ |
| 109 | unfrozen = path.get_home_dir() |
| 110 | sys.frozen = True |
| 111 | |
| 112 | #fake filename for IPython.__init__ |
| 113 | IPython.__file__ = abspath(join(HOME_TEST_DIR, "Lib/IPython/__init__.py")) |
| 114 | |
| 115 | home_dir = path.get_home_dir() |
| 116 | nt.assert_equal(home_dir, unfrozen) |
| 117 | |
| 118 | |
| 119 | @skip_if_not_win32 |
nothing calls this directly
no outgoing calls
no test coverage detected