equal
deleted
inserted
replaced
325 if session is not None: |
325 if session is not None: |
326 self.set_session(session) |
326 self.set_session(session) |
327 else: |
327 else: |
328 # these args are initialized after a connection is |
328 # these args are initialized after a connection is |
329 # established |
329 # established |
330 self.session = None |
330 self.session = DBAPISession(None) |
331 self.cnx = self.user = _NeedAuthAccessMock() |
331 self.cnx = self.user = _NeedAuthAccessMock() |
332 self.set_default_language(vreg) |
332 self.set_default_language(vreg) |
333 |
333 |
334 def get_option_value(self, option, foreid=None): |
334 def get_option_value(self, option, foreid=None): |
335 return self.cnx.get_option_value(option, foreid) |
335 return self.cnx.get_option_value(option, foreid) |