Pytest Salt Plugin
Project description
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
Release history Release notifications | RSS feed
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.3.tar.gz
(77.3 kB
view hashes)
Built Distribution
Close
Hashes for pytest-skip-markers-1.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d5f2067d1cee572f1723485aff84ec2b7e62ee322a08bb691b1a11079d4f901 |
|
MD5 | 0a87a14e21ecbb8143d147fe82e3ac6d |
|
BLAKE2b-256 | 56f2160aee1175498ae315953fe6068190c29d2a83e153a479db1c3b0ba9f45a |
Close
Hashes for pytest_skip_markers-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cd802a3d7bee3a80766159bb9e0a56b9a1b993e788a357c7a0af420404dc308 |
|
MD5 | f49a382f234cb4240d48108c4c25a343 |
|
BLAKE2b-256 | 40e6e16ae6c4ed02070f473468c1c9d4aa92d67b3d85f210ba9c315ba19ae364 |