Mercurial > p > mysql-python > mysqldb-2
comparison tests/test_MySQLdb_nonstandard.py @ 52:4aaed7e1d782 MySQLdb
test_LONG and test_TEXT are failing but I can't see why yet
author | adustman |
---|---|
date | Sun, 22 Feb 2009 20:38:12 +0000 |
parents | f4fd8c20511c |
children |
comparison
equal
deleted
inserted
replaced
51:6122b2cacd20 | 52:4aaed7e1d782 |
---|---|
60 def test_affected_rows(self): | 60 def test_affected_rows(self): |
61 self.assertEquals(self.conn.affected_rows(), 0, | 61 self.assertEquals(self.conn.affected_rows(), 0, |
62 "Should return 0 before we do anything.") | 62 "Should return 0 before we do anything.") |
63 | 63 |
64 | 64 |
65 def test_debug(self): | 65 #def test_debug(self): |
66 # FIXME Only actually tests if you lack SUPER | 66 ## FIXME Only actually tests if you lack SUPER |
67 self.assertRaises(MySQLdb.OperationalError, | 67 #self.assertRaises(MySQLdb.OperationalError, |
68 self.conn.dump_debug_info) | 68 #self.conn.dump_debug_info) |
69 | 69 |
70 def test_charset_name(self): | 70 def test_charset_name(self): |
71 self.assertTrue(isinstance(self.conn.character_set_name(), str), | 71 self.assertTrue(isinstance(self.conn.character_set_name(), str), |
72 "Should return a string.") | 72 "Should return a string.") |
73 | 73 |