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

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

Uploaded Source

Built Distribution

pytest_skip_markers-1.0.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-skip-markers-1.0.0.tar.gz
  • Upload date:
  • Size: 65.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.4

File hashes

Hashes for pytest-skip-markers-1.0.0.tar.gz
Algorithm Hash digest
SHA256 10b82c087b24da2f8008bb02d91757483460525a1c3f43bc1201e51c41598053
MD5 0a4bd2dc1d1aee80fddbf2c8ba0e8fef
BLAKE2b-256 6f5db82cac2f3e9e9e106e2b745b2774da4686677dc5ac8382dd182c03ffdcfa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_skip_markers-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.4

File hashes

Hashes for pytest_skip_markers-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba5857b2a959243d08e75e50eba3add27a71502e8b3250fbdf9be3422f56bcfb
MD5 89f5940dd50f13f16d0cef7751d18391
BLAKE2b-256 5543b35c70e50198441ef783df54f3d0367ac0393839690eee9277e97be23544

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