Add rudiments of a ZEO test framework for Windows
winserver.py: A small script that runs a ZEO StorageServer and a ZEOTestServer. The ZEOTestServer is used to kill the StorageServer during a unit test's teardown phases. As soon as a client connects to that server, it exits the process. forker.py: Now forks and spawns, depending on os. XXX This needs to be cleaned up a lot, since the interfaces on Windows and Unix are nothing alike. testZEO.py: Add WindowsGenericTests and WindowsZEOFileStorageTests. These test cases use the Windows-specific forker interface. They also use getStorageInfo() to describe the storage, rather than getStorage() to create the storage. This is necessary because the storage instance is created in a separate process.
Showing
Please register or sign in to comment