729 self.sbLabel.setText(self.tr("Preparing Testsuite")) |
729 self.sbLabel.setText(self.tr("Preparing Testsuite")) |
730 QCoreApplication.processEvents() |
730 QCoreApplication.processEvents() |
731 |
731 |
732 if self.__project: |
732 if self.__project: |
733 mainScript = self.__project.getMainScript(True) |
733 mainScript = self.__project.getMainScript(True) |
734 coverageFile = os.path.splitext(mainScript)[0] + ".coverage" |
734 coverageFile = ( |
|
735 os.path.splitext(mainScript)[0] + ".coverage" |
|
736 if mainScript else |
|
737 "" |
|
738 ) |
735 else: |
739 else: |
736 coverageFile = "" |
740 coverageFile = "" |
737 interpreter = self.__venvManager.getVirtualenvInterpreter( |
741 interpreter = self.__venvManager.getVirtualenvInterpreter( |
738 self.__recentEnvironment) |
742 self.__recentEnvironment) |
739 config = TestConfig( |
743 config = TestConfig( |