============
The ability to set 'marks' on py.test test methods is pretty cool.
@pytest.mark.red
def some_test_method(self):
# some check-y stuff
But if you have a half dozen marks that you want to put on a method, it gets kinda yucky.
@pytest.mark.red
@pytest.mark.green
@pytest.mark.blue
@pytest.mark.black
@pytest.mark.orange
@pytest.mark.pink
def some_test_method(self):
# some check-y stuff
What would be nice is if you could apply them all in a single decorator.
@pytest.marks('red', 'green', 'blue', 'black', 'orange', 'pink')
def some_test_method(self):
# some check-y stuff
Well, now you can.
To install, either
* pip install pytest-marks
* python setup.py install
Metadata
Release files for pytest-marks 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest-marks-0.4.tar.gz | 2.0 kB | Without provenance | Details for pytest-marks-0.4.tar.gz |
Release files / pytest-marks-0.4.tar.gz
| Download URL | pytest-marks-0.4.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d9970568e164cf8de6cc9b9f243f24750715cec0ec67109020aac6ef22834b6
|
|
BLAKE2b-256 checksum How to use checksums |
72b69c9dce170c70998a89a95d7ab9706ba7da9b82d0ca5736843d2f60c6b977
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytest-marks 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.