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 <akasurde@redhat.com>
This commit is contained in:
parent
02e742b7a6
commit
c40947e651
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue