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.3.0.tar.gz (81.2 kB view details)

Uploaded Source

Built Distribution

pytest_skip_markers-1.3.0-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file pytest-skip-markers-1.3.0.tar.gz.

File metadata

  • Download URL: pytest-skip-markers-1.3.0.tar.gz
  • Upload date:
  • Size: 81.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for pytest-skip-markers-1.3.0.tar.gz
Algorithm Hash digest
SHA256 3ee7067afb42c1adde981278e588b0bae0634878607379e5012e461962646fd3
MD5 24225a14ec069e409bc615b0d005a7d2
BLAKE2b-256 18cde09fb8cdc0c37e9bb1304d44196a46963510491acd16d4941c71743ffdd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_skip_markers-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c7dc6816195de428e9c56682b45880a10f4ffed360fbe0510065eec1f5c78d5
MD5 fd895a07f1d846b4b6d0df0130e540ad
BLAKE2b-256 58cb1d54516d9e3b818a3c434d375f8cad637b93112c679f21c999e5b99025fb

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