'Connect to the database, perform a query and drop the connection.'

def __ConnectAndDrop(self):

    connection = cx_Oracle.connect(self.username, self.password, self.tnsentry, threaded=True)
    cursor = connection.cursor()
    cursor.execute(u'select    count(*)    from    TestNumbers')
    (count,) = cursor.fetchone()
    self.failUnlessEqual(count, 10)
