nose-blacklist is a plugin for nose that provides a powerful way of skipping tests without requiring code changes.
Test cases are excluded by regex matching
Tests cases are matched by their fully-qualified names, including the module, class, and function/method names.
Tests to skip can be sourced from one or more files, or from cli arguments
Quickstart
$ pip install nose-blacklist
$ nosetests --with-blacklist \
--blacklist=<pattern1> \
--blacklist=<pattern2> \
mytests/
Blacklist strings can be specified from one or more files. Blacklist files can be used in conjunction with the --blacklist arguments.
$ cat blacklist.txt
test_thing
# test_other_thing
test_third_thing
$ nosetests --with-blacklist \
--blacklist-file=blacklist.txt \
mytests/
The blacklist file should have a single pattern per line, as above. Any line starting with a # is commented and will be ignored.
Metadata
Release files for nose-blacklist 0.0.2
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 | |
|---|---|---|---|---|
| nose-blacklist-0.0.2.tar.gz | 2.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nose_blacklist-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / nose-blacklist-0.0.2.tar.gz
| Download URL | nose-blacklist-0.0.2.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a1b9e7cfb3f4082928d4100fd0eecd7f36d1efbb5c323c15d0352edc6321f21
|
|
BLAKE2b-256 checksum How to use checksums |
13de96f9947294126844f8170cbf7654697adfa83636325c1cd4d3f6576a7d81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Release files / nose_blacklist-0.0.2-py3-none-any.whl
| Download URL | nose_blacklist-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
975ff228457b5e90a9d9748e2d8399c17ac4cba6dcc04b942211ea608a7809dd
|
|
BLAKE2b-256 checksum How to use checksums |
490ef63e49760bf77db88c00d8fd4289ffbd5776b3f2053de004b7088f289b2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
|
Security for nose-blacklist 0.0.2
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.