def setUp(self):
     global conn, c
     dbfarm = monetdblitetest.tempdir()
     conn = monetdblite.connect(dbfarm)
     c = conn.cursor()
     c.create('integers', {'i': numpy.arange(10)})
     c.execute('INSERT INTO integers VALUES (NULL)')
 def setUp(self):
     global conn, c
     dbfarm = monetdblitetest.tempdir()
     conn = monetdblite.connect(dbfarm)
     c = conn.cursor()
     c.create('integers', {'i': numpy.arange(10)})
示例#3
0
 def setUp(self):
     global conn, c, dbfarm
     dbfarm = monetdblitetest.tempdir()
     conn = monetdblite.connect(dbfarm)
     c = conn.cursor()
     conn.set_autocommit(True)
示例#4
0
 def setUpClass(cls):
     dbfarm = monetdblitetest.tempdir()
     cls.conn = monetdblite.connect(dbfarm)
示例#5
0
 def setUp(self):
     global dbfarm
     dbfarm = monetdblitetest.tempdir()
     monetdblite.init(dbfarm)