#3203 Remove progress when no-capture
This commit is contained in:
@@ -324,6 +324,8 @@ class TerminalReporter(object):
|
||||
_PROGRESS_LENGTH = len(' [100%]')
|
||||
|
||||
def _get_progress_information_message(self):
|
||||
if self.config.getoption('capture') == 'no':
|
||||
return ''
|
||||
collected = self._session.testscollected
|
||||
if collected:
|
||||
progress = len(self._progress_nodeids_reported) * 100 // collected
|
||||
|
||||
Reference in New Issue
Block a user