Test a layout on Windows with no DLLs directory.
(self)
| 243 | self.assertEqual(expected, actual) |
| 244 | |
| 245 | def test_no_dlls_win32(self): |
| 246 | "Test a layout on Windows with no DLLs directory." |
| 247 | ns = MockNTNamespace( |
| 248 | argv0=r"C:\Python\python.exe", |
| 249 | real_executable=r"C:\Python\python.exe", |
| 250 | ) |
| 251 | ns.add_known_xfile(r"C:\Python\python.exe") |
| 252 | ns.add_known_file(r"C:\Python\Lib\os.py") |
| 253 | expected = dict( |
| 254 | executable=r"C:\Python\python.exe", |
| 255 | base_executable=r"C:\Python\python.exe", |
| 256 | prefix=r"C:\Python", |
| 257 | exec_prefix=r"C:\Python", |
| 258 | module_search_paths_set=1, |
| 259 | module_search_paths=[ |
| 260 | r"C:\Python\python98.zip", |
| 261 | r"C:\Python", |
| 262 | r"C:\Python\Lib", |
| 263 | ], |
| 264 | ) |
| 265 | actual = getpath(ns, expected) |
| 266 | self.assertEqual(expected, actual) |
| 267 | |
| 268 | def test_normal_posix(self): |
| 269 | "Test a 'standard' install layout on *nix" |
nothing calls this directly
no test coverage detected