File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -273,13 +273,13 @@ which will add the string to the test header accordingly::
273
273
274
274
You can also return a list of strings which will be considered as several
275
275
lines of information. You can of course also make the amount of reporting
276
- information on e.g. the value of ``config.option. verbose `` so that
276
+ information on e.g. the value of ``config.getoption(' verbose') `` so that
277
277
you present more information appropriately::
278
278
279
279
# content of conftest.py
280
280
281
281
def pytest_report_header(config):
282
- if config.option. verbose > 0:
282
+ if config.getoption(' verbose') > 0:
283
283
return ["info1: did you know that ...", "did you?"]
284
284
285
285
which will add info only when run with "--v"::
You can’t perform that action at this time.
0 commit comments