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

Uploaded Source

Built Distribution

pytest_skip_markers-1.5.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest-skip-markers-1.5.0.tar.gz
  • Upload date:
  • Size: 75.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.12

File hashes

Hashes for pytest-skip-markers-1.5.0.tar.gz
Algorithm Hash digest
SHA256 d71d74d689875ee638331c3b5b429aa6d48c7a4b1c2cba0f20a963f8f3736583
MD5 1a24bd7fd6eb55718d0103e60e67a09f
BLAKE2b-256 91b2ebe0efd3b70877e8e6049e7765f4e4640c6449704ca299443be72f891aff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_skip_markers-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d25062eeb7146ba2c3b97e82a61323346ac5ab84d9c10e2e883a028cee4c8033
MD5 b13ad57513f97a77c8b6fb38cc47de51
BLAKE2b-256 e1901260adb750a9cfa71dfeec3eaee2a59a2717263e14acfe397981aa2ae798

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