'test session pool to database with multiple threads'

def testThreading(self):

    self.pool = cx_Oracle.SessionPool(USERNAME, PASSWORD, TNSENTRY, 5, 20, 2, threaded=True)
    threads = []
    for i in range(20):
        thread = threading.Thread(None, self.__ConnectAndDrop)
        threads.append(thread)
        thread.start()
    for thread in threads:
        thread.join()
