Source

pytest-capturelog /

Filename Size Date modified Message
55 B
106 B
1.0 KB
417 B
3.1 KB
1.1 KB

pytest-capturelog

py.test plugin to capture log messages

Usage

Log messages are captured by default and for each failed test will be shown in the same manner as captured stdout and stderr.

Capturing of logs can be disabled with:

py.test --nocapturelog

Installation

With pip:

pip install pytest-capturelog

With easy install:

easy_install pytest-capturelog