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

Uploaded Source

Built Distribution

pytest_skip_markers-1.1.1-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-skip-markers-1.1.1.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pytest-skip-markers-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b77d5a608046a9fc0b66a4331a3722b2a16b0c0de4475feb94ef7b1ea17acdda
MD5 ee68ade3a5d18ae2d53b6f33fb2f31fb
BLAKE2b-256 9626903d46dd7c2ffa29620f34b4583589652d85c6556c217516d75fb513c2d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_skip_markers-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pytest_skip_markers-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d1d0c8e0603bb528b54da6d7177d1f126ee9274002637d0ceea9c3b156424896
MD5 9b21c704a41db3cbee4d7c79a4524d53
BLAKE2b-256 c17bd5f7ec6cc401fe68edaeea94eeac1fc146f6f8462f422b8350af2b35b3d9

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