Skip to main content

Pytest Salt Plugin

Project description

CI Docs Codecov Python Versions Python Wheel Code Style: black PyPI - License

What is Skip Markers

This pytest plugin was extracted from pytest-salt-factories. It’s a collection of of useful skip markers created to simplify and reduce code required to skip tests in some common scenarios, for example, platform specific tests.

Install

Installing Skip Markers is as simple as:

python -m pip install pytest-skip-markers

And, that’s honestly it.

Usage

Once installed, you can now skip some tests with some simple pytest markers, for example.

import pytest


@pytest.mark.skip_unless_on_linux
def test_on_linux():
    assert True

Contributing

The pytest-skip-markers project team welcomes contributions from the community. For more detailed information, refer to CONTRIBUTING.

Documentation

The full documentation can be seen here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_skip_markers-1.5.2.tar.gz (75.3 kB view details)

Uploaded Source

Built Distribution

pytest_skip_markers-1.5.2-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file pytest_skip_markers-1.5.2.tar.gz.

File metadata

  • Download URL: pytest_skip_markers-1.5.2.tar.gz
  • Upload date:
  • Size: 75.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for pytest_skip_markers-1.5.2.tar.gz
Algorithm Hash digest
SHA256 76d61be67f1fd639cca37830a4756b09cea5521361616e66344f7ef00b4d06c0
MD5 a2b0ad4104b95eda2a928c60a4ebff13
BLAKE2b-256 278b15c961e983eb3f71d277679cfe93c1c0cd698507c461f90208d80252534f

See more details on using hashes here.

File details

Details for the file pytest_skip_markers-1.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_skip_markers-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 416be63bebacb3c17020d6a65b4306cb685161a2071ca5e7a7df529627f7e0f7
MD5 d9efe83172d68169d743abe489cad0d8
BLAKE2b-256 04c3de4b07aa387e5e529d4c095e39cc665eb67588c321e489f632ace5015c5c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page