def setUp(self): dbfile = ':memory:' self.db = DataBase(dbfile) self.db.create() self.db.insert(2,CURRENT,23.) self.db.insert(3,CURRENT,23.1) self.db.insert(4,CURRENT,23.2)
def setUp(self): dbfile = ':memory:' self.db = DataBase(dbfile) self.db.create() self.db.insert(2,CURRENT,23.) self.db.insert(3,CURRENT,23.1) self.db.insert(4,CURRENT,23.2)