Make test actually fail on for unfixed behaviour
parent
b662b14e01
commit
beb116875b
|
|
@ -62,7 +62,7 @@ class MockTest(unittest.TestCase):
|
|||
cursor = self.conn.cursor()
|
||||
cursor.execute("dummy stmt")
|
||||
result = cursor.fetchone()
|
||||
self.assertEquals(result[0], 12345)
|
||||
self.assertEquals(str(result[0]), "12345")
|
||||
|
||||
def test_sql_exception_on_execute(self):
|
||||
self.conn.jconn.mockExceptionOnExecute("java.sql.SQLException", "expected")
|
||||
|
|
|
|||
Loading…
Reference in New Issue