Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A plugin for python-nose which locks test execution and doesn't allow to run them in parallel from two terminals.

Project Description

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.

Release History

Release History

This version
History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nose-lock-0.2.3.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Mar 6, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting