equal
deleted
inserted
replaced
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 |