220 # prepend the selected file to the testsuite combobox |
220 # prepend the selected file to the testsuite combobox |
221 self.insertProg(prog) |
221 self.insertProg(prog) |
222 self.sbLabel.setText(self.trUtf8("Preparing Testsuite")) |
222 self.sbLabel.setText(self.trUtf8("Preparing Testsuite")) |
223 QApplication.processEvents() |
223 QApplication.processEvents() |
224 |
224 |
225 testFunctionName = self.testComboBox.currentText() or "suite" |
225 testFunctionName = self.testComboBox.currentText() |
|
226 if testFunctionName: |
|
227 self.insertTestName(testFunctionName) |
|
228 else: |
|
229 testFunctionName = "suite" |
226 |
230 |
227 # build the module name from the filename without extension |
231 # build the module name from the filename without extension |
228 self.testName = os.path.splitext(os.path.basename(prog))[0] |
232 self.testName = os.path.splitext(os.path.basename(prog))[0] |
229 |
233 |
230 if self.dbs and not self.localCheckBox.isChecked(): |
234 if self.dbs and not self.localCheckBox.isChecked(): |