Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pytest-logging

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-logging

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

  • 2015.11.4
  • PyPI
  • Socket score

Maintainers
1

pytest-logging

.. image:: https://travis-ci.org/saltstack/pytest-logging.svg?branch=master :target: https://travis-ci.org/saltstack/pytest-logging :alt: See Build Status on Travis CI

.. image:: https://ci.appveyor.com/api/projects/status/github/saltstack/pytest-logging?branch=master :target: https://ci.appveyor.com/project/saltstack-public/pytest-logging/branch/master :alt: 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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _@hackebrot: https://github.com/hackebrot .. _cookiecutter-pytest-plugin: https://github.com/pytest-dev/cookiecutter-pytest-plugin .. _file an issue: https://github.com/saltstack/pytest-logging/issues .. _pytest: https://github.com/pytest-dev/pytest .. _tox: https://tox.readthedocs.org/en/latest/ .. _pip: https://pypi.python.org/pypi/pip/ .. _PyPI: https://pypi.python.org/pypi .. _Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc