devtools/livetest.py
changeset 3647 2941f4a0aab9
parent 2773 b2530e3e0afb
child 4252 6c4f109c2b03
equal deleted inserted replaced
3646:3bba270202ef 3647:2941f4a0aab9
   149         self.twill_output = StringIO()
   149         self.twill_output = StringIO()
   150         hijack_twill_output(self.twill_output)
   150         hijack_twill_output(self.twill_output)
   151         # build a config, and get a connection
   151         # build a config, and get a connection
   152         self.config = LivetestConfiguration(self.cube, self.sourcefile)
   152         self.config = LivetestConfiguration(self.cube, self.sourcefile)
   153         _, user, passwd, _ = loadconf()
   153         _, user, passwd, _ = loadconf()
   154         self.repo, self.cnx = in_memory_cnx(self.config, user, passwd)
   154         self.repo, self.cnx = in_memory_cnx(self.config, user, password=passwd)
   155         self.setup_db(self.cnx)
   155         self.setup_db(self.cnx)
   156 
   156 
   157     def tearDown(self):
   157     def tearDown(self):
   158         self.teardown_db(self.cnx)
   158         self.teardown_db(self.cnx)
   159 
   159