def Client(): c = IMSClient(SOURCE, "pi") c.cache = None c.connect() yield c if os.path.exists(SOURCE + ".h5"): os.remove(SOURCE + ".h5")
def Client(): c = IMSClient(SOURCE, imstype="aspenone", verifySSL=verifySSL) c.cache = None c.connect() yield c if os.path.exists(SOURCE + ".h5"): os.remove(SOURCE + ".h5")
def Client(): c = IMSClient(SOURCE, imstype="piwebapi", verifySSL=verifySSL) c.cache = None c.connect() c.handler._max_rows = 1000 # For the long raw test yield c if os.path.exists(SOURCE + ".h5"): os.remove(SOURCE + ".h5")