Skip to main content
See Build Status on Travis CI See Build Status on AppVeyor

Configures logging and allows tweaking the log level with a py.test flag


This Pytest plugin was generated with Cookiecutter along with @hackebrot’s Cookiecutter-pytest-plugin template.

Features

  • Configures python’s logging to output log messages to the console(You need to tell PyTest not to capture output).

  • Increases the logging verbosity by lowering the log level by passing -v to PyTest

Requirements

  • None!

Installation

You can install “pytest-logging” via pip from PyPI:

$ pip install pytest-logging

Usage

  • Simply pass one or more -v flag(s) to PyTest to increase logging verbosity

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the Apache 2.0 license, “pytest-logging” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Release files for pytest-logging 2015.11.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-logging 2015.11.4
File Size Uploaded
pytest-logging-2015.11.4.tar.gz 3.9 kB Details

Release files / pytest-logging-2015.11.4.tar.gz

Download URL pytest-logging-2015.11.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cec5c85ecf18aab7b2ead5498a31b9f758680ef5a902b9054ab3f2bdbb77c896
BLAKE2b-256 checksum
How to use checksums
dc1efb11174c9eaebcec27d36e9e994b90ffa168bc3226925900b9dbbf16c9da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2015.11.4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page