Example #1
0
 def setUp(self):
     import ceODBC
     import TestEnv
     self.connection = ceODBC.Connection(TestEnv.DSN)
     self.cursor = self.connection.cursor()
     self.cursor.arraysize = TestEnv.ARRAY_SIZE
Example #2
0
 def setUp(self):
     global ceODBC, TestEnv
     self.connection = ceODBC.Connection(TestEnv.DSN)
     self.cursor = self.connection.cursor()
     self.cursor.arraysize = TestEnv.ARRAY_SIZE