def test_shutdown(self):
        server = self._server(None)
        server.bio_shutdown()
        e = self.assertRaises(Error, server.recv, 1024)
        # We don't want WantReadError or ZeroReturnError or anything - it's a
        # handshake failure.
        self.assertEquals(e.__class__, Error)
Store arguments and in-memory "stdin".
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/test/test_ssl.py/MemoryBIOTests.test_shutdown--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/common/_ipc.py/FakeNode.run