--- a/PyUnit/UnittestDialog.py Tue Apr 26 13:55:10 2011 +0200 +++ b/PyUnit/UnittestDialog.py Tue Apr 26 17:08:08 2011 +0200 @@ -222,7 +222,11 @@ self.sbLabel.setText(self.trUtf8("Preparing Testsuite")) QApplication.processEvents() - testFunctionName = self.testComboBox.currentText() or "suite" + testFunctionName = self.testComboBox.currentText() + if testFunctionName: + self.insertTestName(testFunctionName) + else: + testFunctionName = "suite" # build the module name from the filename without extension self.testName = os.path.splitext(os.path.basename(prog))[0]