diff tests/test_MySQLdb_capabilities.py @ 63:34176b94a93f MySQLdb

Add a connection.ping() test. Oh look, it's broken.
author adustman
date Wed, 11 Mar 2009 03:17:58 +0000 (2009-03-11)
parents 7fe4b0b37e8e
children 7a60c4574baf
line wrap: on
line diff
--- a/tests/test_MySQLdb_capabilities.py	Sun Mar 08 17:50:34 2009 +0000
+++ b/tests/test_MySQLdb_capabilities.py	Wed Mar 11 03:17:58 2009 +0000
@@ -81,6 +81,9 @@
         except self.connection.ProgrammingError, msg:
             self.failUnless(msg[0] == ER.NO_SUCH_TABLE)
     
+    def test_ping(self):
+        self.connection.ping()
+
     
 if __name__ == '__main__':
     if test_MySQLdb.leak_test: