def test_client(): pool_client = PoolingThriftClient(ENDPOINTS, EzPz.Client, use_ssl=True, ca_certs=clientcapath, cert=clientcertpath, key=clientprivpath) try: nt.assert_equal('pz', pool_client.ez()) finally: pool_client.close()
def test_client(): pool_client = PoolingThriftClient(ENDPOINTS, EzPz.Client) try: nt.assert_equal('pz', pool_client.ez()) finally: pool_client.close()