This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

About

Written by Jesse Noller

Licensed under the Apache Software License, 2.0

You can install it with easy_install nose-pathmunge

What It Does

nose-pathmunge is a plugin to the nose test framework which provides a method to add directories to the sys.path of nose, which is inherited by the tests running within nose.

This itch stems from in many of my own cases, the need to add modules to a given run (dependencies) that I don’t want to install because they’re synced from a source control system, and change frequently.

This plugin is extremely simple. It’s meant to be.

Usage

Usage is simple - install the package, and then execute nosetests like this:

nosetests --with-path=/home/jesse/src --with-path=/other/dir

Remember the rules when appending directories to your path - you should add the directory above a module - not the module directory itself, and there needs to be a valid __init__.py file. For example, the following project layout in subversion:

myproj/
    src/
        mymodule/
            __init__.py
            foobar.py

You would add this like this:

nosetests --with-path=/home/jesse/src/myproj/src

This would add mymodule/... to the sys.path for the tests to be able to import.

Command line options

After it is installed, the plugin adds the following command line flags to nosetests:

--with-path=TESTCONFIG  Additional directories to add to the nose sys.path
                        [NOSE_ADDITIONAL_PATHS]

You can pass in as many paths as you like. I suggest 3, as that’s a pleasant number.

TODO

  • Verify works/doesn’t work with multiprocess plugin
  • Add tests

Changes & News

0.1.2:
Fix PyPI issues; fix easy_install(ability)
0.1:
Initial release. May contain bits of glass.
Release History

Release History

0.1.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nose-pathmunge-0.1.2.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source May 19, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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