From c40947e651c42b6f45af9eb826940ba8b76d4ad4 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Thu, 10 Sep 2015 15:43:43 +0530 Subject: [PATCH] Added fix for specifying every option for reporting The fix will add option 'a' to reporting which will ease task of adding all options or reporting at once. Signed-off-by: Abhijeet Kasurde --- _pytest/terminal.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_pytest/terminal.py b/_pytest/terminal.py index 5365b4300..9efa3841c 100644 --- a/_pytest/terminal.py +++ b/_pytest/terminal.py @@ -64,8 +64,10 @@ def getreportopt(config): reportchars = config.option.reportchars if reportchars: for char in reportchars: - if char not in reportopts: + if char not in reportopts and char != 'a': reportopts += char + elif char == 'a': + reportopts = 'fEsxXw' return reportopts def pytest_report_teststatus(report):