• Jeremy Hylton's avatar
    Add rudiments of a ZEO test framework for Windows · a4c4010a
    Jeremy Hylton authored
    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.
    a4c4010a
winserver.py 1.42 KB