Ejemplo n.º 1
0
 def test_with_rows(self):
     cur = CMySQLCursor(self.cnx)
     self.assertFalse(cur.with_rows)
     cur._description = ('ham', 'spam')
     self.assertTrue(cur.with_rows)
Ejemplo n.º 2
0
 def test_with_rows(self):
     cur = CMySQLCursor(self.cnx)
     self.assertFalse(cur.with_rows)
     cur._description = ('ham', 'spam')
     self.assertTrue(cur.with_rows)