doc: fix caplog: s/methods/properties/
This commit is contained in:
parent
15278aacb9
commit
2cf4c67e45
|
@ -263,7 +263,7 @@ class LogCaptureFixture(object):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def record_tuples(self):
|
def record_tuples(self):
|
||||||
"""Returns a list of a striped down version of log records intended
|
"""Returns a list of a stripped down version of log records intended
|
||||||
for use in assertion comparison.
|
for use in assertion comparison.
|
||||||
|
|
||||||
The format of the tuple is:
|
The format of the tuple is:
|
||||||
|
@ -330,7 +330,7 @@ class LogCaptureFixture(object):
|
||||||
def caplog(request):
|
def caplog(request):
|
||||||
"""Access and control log capturing.
|
"""Access and control log capturing.
|
||||||
|
|
||||||
Captured logs are available through the following methods::
|
Captured logs are available through the following properties/methods::
|
||||||
|
|
||||||
* caplog.text -> string containing formatted log output
|
* caplog.text -> string containing formatted log output
|
||||||
* caplog.records -> list of logging.LogRecord instances
|
* caplog.records -> list of logging.LogRecord instances
|
||||||
|
|
Loading…
Reference in New Issue