def create_db(self): location, fname = os.path.split(temp_db) log = logging.getLogger('test') log.setLevel(logging.CRITICAL) return SQLiteDB(location=location, fname=fname, log=log)
def create_db(self): return SQLiteDB(location=tempfile.gettempdir())