From 3441084bd29f044d26637070c555e59f8fedf0b5 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 21 Nov 2017 20:42:15 -0200 Subject: [PATCH] Add progress output for verbose mode with xdist --- _pytest/terminal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_pytest/terminal.py b/_pytest/terminal.py index eb7b03e35..930a0c507 100644 --- a/_pytest/terminal.py +++ b/_pytest/terminal.py @@ -299,8 +299,8 @@ class TerminalReporter: self.write_ensure_prefix(line, word, **markup) else: self.ensure_newline() - if running_xdist: - self.writer.write("[%s] " % rep.node.gateway.id) + self.writer.write("[%s]" % rep.node.gateway.id) + self.writer.write(self._get_progress_information_message() + " ", cyan=True) self.writer.write(word, **markup) self.writer.write(" " + line) self.currentfspath = -2