'connection to database with bad connect string'

def testBadConnectString(self):

    self.failUnlessRaises(cx_Oracle.DatabaseError, cx_Oracle.connect, self.username)
    self.failUnlessRaises(cx_Oracle.DatabaseError, cx_Oracle.connect, ((self.username + '@') + self.tnsentry))
    self.failUnlessRaises(cx_Oracle.DatabaseError, cx_Oracle.connect, ((((self.username + '@') + self.tnsentry) + '/') + self.password))
