Nose Lock
This is a plugin for python-nose which locks test execution and doesn’t allow to run them in parallel from two terminals.
You could want this behaviour, when parallel tests will interfer for some reason. This could be because they go into one database or have other side effects which hard to isolate.
Usage
Install via pip install nose-lock, then run tests with argument --with-lock.
By default, lock is created as /tmp/<cur-dir-name>.lock file, but you could override this behaviour using optional parameter --lock-file:
nosetests --with-lock --lock-file /tmp/blah-minor
Hack it
Fork the project at GitHub. Don’t forget to send a pull request or file an issue.
Metadata
Release files for nose-lock 0.2.3
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 |
|---|---|---|---|---|
| nose-lock-0.2.3.tar.gz | 2.3 kB | Without provenance | Details for nose-lock-0.2.3.tar.gz |
Release files / nose-lock-0.2.3.tar.gz
| Download URL | nose-lock-0.2.3.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d717c0256c1f3d478b5f6da5461ffb2f7af225088f8fac9e836d731afbf00ff9
|
|
BLAKE2b-256 checksum How to use checksums |
ad82d86de0393077c73110cbd2b6283c351ed64b3a0e4332f28b452715ad9236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for nose-lock 0.2.3
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.