PyUnit/UnittestDialog.py

changeset 1000
c9f094c33a1d
parent 945
8cd4d08fa9f6
child 1112
8a7d1b9d18db
equal deleted inserted replaced
998:eb7a1af5d9fc 1000:c9f094c33a1d
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():

eric ide

mercurial