'connection to database with multiple threads'

def testThreading(self):

    threads = []
    for i in range(20):
        thread = threading.Thread(None, self.__ConnectAndDrop)
        threads.append(thread)
        thread.start()
    for thread in threads:
        thread.join()
