src/eric7/Testing/Interfaces/PytestExecutor.py

branch
eric7-maintenance
changeset 9549
67295777d9fe
parent 9442
906485dcd210
parent 9546
9ab5b929408b
child 9654
7328efba128b
equal deleted inserted replaced
9451:24c847222774 9549:67295777d9fe
9 9
10 import contextlib 10 import contextlib
11 import json 11 import json
12 import os 12 import os
13 13
14 from PyQt6.QtCore import pyqtSlot, QProcess 14 from PyQt6.QtCore import QProcess, pyqtSlot
15 15
16 from eric7.EricNetwork.EricJsonStreamReader import EricJsonReader 16 from eric7.EricNetwork.EricJsonStreamReader import EricJsonReader
17 17
18 from .TestExecutorBase import TestExecutorBase, TestResult, TestResultCategory 18 from .TestExecutorBase import TestExecutorBase, TestResult, TestResultCategory
19 19
199 @param config configuration for the test execution 199 @param config configuration for the test execution
200 @type TestConfig 200 @type TestConfig
201 @param pythonpath list of directories to be added to the Python path 201 @param pythonpath list of directories to be added to the Python path
202 @type list of str 202 @type list of str
203 """ 203 """
204 self.reader = EricJsonReader(name="Unittest Reader", parent=self) 204 self.reader = EricJsonReader(name="Pytest Reader", parent=self)
205 self.reader.dataReceived.connect(self.__processData) 205 self.reader.dataReceived.connect(self.__processData)
206 206
207 self.__config = config 207 self.__config = config
208 208
209 if config.discoveryStart: 209 if config.discoveryStart:

eric ide

mercurial