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)})
def setUp(self): global conn, c, dbfarm dbfarm = monetdblitetest.tempdir() conn = monetdblite.connect(dbfarm) c = conn.cursor() conn.set_autocommit(True)
def setUpClass(cls): dbfarm = monetdblitetest.tempdir() cls.conn = monetdblite.connect(dbfarm)
def setUp(self): global dbfarm dbfarm = monetdblitetest.tempdir() monetdblite.init(dbfarm)